<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: UID in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/uid/m-p/2742009#M67876</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you change the uID now then the user cannot aceess the files which were created using the old UID, file permissions are changed.&lt;BR /&gt;&lt;BR /&gt;So you should be very careful before changing the UID.&lt;BR /&gt;&lt;BR /&gt;Piyush&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 11 Jun 2002 13:46:27 GMT</pubDate>
    <dc:creator>PIYUSH D. PATEL</dc:creator>
    <dc:date>2002-06-11T13:46:27Z</dc:date>
    <item>
      <title>UID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/uid/m-p/2742006#M67873</link>
      <description>Hi All:&lt;BR /&gt;&lt;BR /&gt;  I am running a script in an NIS environment which would create a user with a uid 9902(hardcoded). Now to install this code into the production box, we found that the box already has this uid(9902). I would like to know what would be the impact of modifying the uid now and how? Please advise.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Brian.</description>
      <pubDate>Tue, 11 Jun 2002 13:37:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/uid/m-p/2742006#M67873</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2002-06-11T13:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: UID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/uid/m-p/2742007#M67874</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;  If U change the UID of an existing user, It affect's his file permissions and owner ships. Better U duplicate the UID or go for a new UID.&lt;BR /&gt;&lt;BR /&gt;Best of luck&lt;BR /&gt;Shahul</description>
      <pubDate>Tue, 11 Jun 2002 13:41:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/uid/m-p/2742007#M67874</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2002-06-11T13:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: UID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/uid/m-p/2742008#M67875</link>
      <description>I really don't think you want to have duplicate uid's.  Change the existing user, then do a chown -R on his home directory to reset ownership.  Or, to be more thorough, do a find -user to get a list of all files beforehand, then use the list as input to your chown.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 11 Jun 2002 13:46:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/uid/m-p/2742008#M67875</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-11T13:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: UID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/uid/m-p/2742009#M67876</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you change the uID now then the user cannot aceess the files which were created using the old UID, file permissions are changed.&lt;BR /&gt;&lt;BR /&gt;So you should be very careful before changing the UID.&lt;BR /&gt;&lt;BR /&gt;Piyush&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jun 2002 13:46:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/uid/m-p/2742009#M67876</guid>
      <dc:creator>PIYUSH D. PATEL</dc:creator>
      <dc:date>2002-06-11T13:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: UID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/uid/m-p/2742010#M67877</link>
      <description>Hi Brian&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can also give a simple id command to verify waht the id is , though it is suppose to eb unique but if u ahve two user ahving sam uid then there can problems for all teh coomand related to the access , previlages where the OS cehcks for the id apart from the permisiions and acces for the files too.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Tue, 11 Jun 2002 13:51:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/uid/m-p/2742010#M67877</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-06-11T13:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: UID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/uid/m-p/2742011#M67878</link>
      <description>Brian&lt;BR /&gt;&lt;BR /&gt;Whilst duplicate UID can be set up it can cause major problems and is highly inadvisable.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;A quick and dirty check on files/ dirs owned by 9902 is :-&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ll -R | awk '{print $3,$4,$9}' | grep 9902&lt;BR /&gt;&lt;BR /&gt;Run it from root dir as root for a full check.&lt;BR /&gt;&lt;BR /&gt;If a file has 9902 in its name then this will be collected as well.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Paula&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jun 2002 14:00:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/uid/m-p/2742011#M67878</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-06-11T14:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: UID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/uid/m-p/2742012#M67879</link>
      <description>I suppose I am being stupid but it's probably easier to change your NIS script to use another uid. You definitely don't want two user's sharing the same UID. Plan B is to do a find for uid 9902 and a -exec chmod {} newuid \; before running your script. I hope that you don't have a set of applications that depend upon a hard-coded uid because that is start-of-the-art dumb.&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jun 2002 14:42:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/uid/m-p/2742012#M67879</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-06-11T14:42:52Z</dc:date>
    </item>
  </channel>
</rss>

