<?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: User ID resue. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884415#M401151</link>
    <description>&lt;QUOTE&gt;&lt;BR /&gt;In theory, should never reuse an ID.&lt;BR /&gt;In practice, this happens frequently.&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;but, if you have a need for any security awareness, you should make sure of a way to prevent this!!!!&lt;BR /&gt;&lt;BR /&gt;_ANYTHING_ owned by / done by the previous holder of that ID will now be _OWNED_ by the new holder / be accounted towards the new holder!!!&lt;BR /&gt;&lt;BR /&gt;We keep the existing UIC's around for 5 years after account expiration, a.o. for these reasons.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;Jan&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 07 Feb 2005 15:45:40 GMT</pubDate>
    <dc:creator>Jan van den Ende</dc:creator>
    <dc:date>2005-02-07T15:45:40Z</dc:date>
    <item>
      <title>User ID resue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884410#M401146</link>
      <description>Hi&lt;BR /&gt;Can any one explain how User ID is being reused in HP UX 11.0? I know that 1-100 is reserved for system accounts.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Nell</description>
      <pubDate>Mon, 07 Feb 2005 13:10:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884410#M401146</guid>
      <dc:creator>Nellian Solaiappan</dc:creator>
      <dc:date>2005-02-07T13:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: User ID resue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884411#M401147</link>
      <description>All you have to do to violate that restriction is vi /etc/passwd and change the user id.&lt;BR /&gt;&lt;BR /&gt;You don't want to do this. But someone at your shop may have done that.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 07 Feb 2005 13:19:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884411#M401147</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-02-07T13:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: User ID resue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884412#M401148</link>
      <description>Actually,&lt;BR /&gt;I'm looking to understand how the OS reuses Userids. Lets say that I created uids 101 - 200 and then I deleted 150-160. How will the os reuse the ids 150-160? It looks like the ids are being reused and I just cant figure out the pattern.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Nell</description>
      <pubDate>Mon, 07 Feb 2005 13:22:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884412#M401148</guid>
      <dc:creator>Nellian Solaiappan</dc:creator>
      <dc:date>2005-02-07T13:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: User ID resue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884413#M401149</link>
      <description>Nell,&lt;BR /&gt;&lt;BR /&gt;Apparently you're using SAM to set up your users.  SAM does re-use id's by taking the lowest available number over 100.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 07 Feb 2005 13:36:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884413#M401149</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-02-07T13:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: User ID resue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884414#M401150</link>
      <description>In theory, should never reuse an ID.&lt;BR /&gt;In practice, this happens frequently.&lt;BR /&gt;&lt;BR /&gt;Use the /usr/sbin/logins -d command to identify duplicate user IDs.&lt;BR /&gt;&lt;BR /&gt;man logins to see many more options to the logins command</description>
      <pubDate>Mon, 07 Feb 2005 13:54:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884414#M401150</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-02-07T13:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: User ID resue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884415#M401151</link>
      <description>&lt;QUOTE&gt;&lt;BR /&gt;In theory, should never reuse an ID.&lt;BR /&gt;In practice, this happens frequently.&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;but, if you have a need for any security awareness, you should make sure of a way to prevent this!!!!&lt;BR /&gt;&lt;BR /&gt;_ANYTHING_ owned by / done by the previous holder of that ID will now be _OWNED_ by the new holder / be accounted towards the new holder!!!&lt;BR /&gt;&lt;BR /&gt;We keep the existing UIC's around for 5 years after account expiration, a.o. for these reasons.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;Jan&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Feb 2005 15:45:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884415#M401151</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-02-07T15:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: User ID resue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884416#M401152</link>
      <description>HP-UX doesn't know anything about users. User ID's are simply numbers used to associate files and directories with a particular entry in the passwd file. The OS never assigns user IDs...that is the job of the system administrator. If you use SAM, you *MUST* look at the number picked by SAM and choose a different one if it is too low. To see the highest userID in your passwd file, use this command:&lt;BR /&gt; &lt;BR /&gt;cut -d : -f 3 /etc/passwd | sort -rn|head -1&lt;BR /&gt; &lt;BR /&gt;The number shown is the last used. Add +1 and tell SAM to use it if it isn't automatic. SAM will not let you create a new user with the same UID qas another user.&lt;BR /&gt; &lt;BR /&gt;As far as reusing userID's, if you completely remove all files owned by a deleted user, the the UID number can be reused. But on complicated systems where users share files and create interdependencies (not a good design practice), this may not be possible.</description>
      <pubDate>Mon, 07 Feb 2005 21:58:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884416#M401152</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-02-07T21:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: User ID resue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884417#M401153</link>
      <description>Bill,&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;. But on complicated systems where users share files and create interdependencies (not a good design practice), this may not be possible. &lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;.. if you need to be accountable, your databases need to store the ID of who performed a change. Can you call that "not a good design practise"?&lt;BR /&gt;Hack, we have several databases for which _BY LAW_ even EVERY QUERY has to be logged and accountable, and available for review (but only under guarded conditions, and any review itself subject to those same reqiorements) till 5 years after. &lt;BR /&gt;&lt;BR /&gt;Think about such environments, and you will realise why even the idea of re-using ID's is gruesome!&lt;BR /&gt;&lt;BR /&gt;but ymmv, of course.&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me,&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Feb 2005 03:19:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884417#M401153</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-02-08T03:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: User ID resue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884418#M401154</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Do you run out of userids?&lt;BR /&gt;&lt;BR /&gt;There is about 64000 available... :-)&lt;BR /&gt;&lt;BR /&gt;For security reasons it is not good to re-use them.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bob&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Feb 2005 04:01:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884418#M401154</guid>
      <dc:creator>B. Hulst</dc:creator>
      <dc:date>2005-02-08T04:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: User ID resue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884419#M401155</link>
      <description>Just a suggestion - When I create a new user account, I use their staff number as their User ID.&lt;BR /&gt;&lt;BR /&gt;(This might cause a problem, depending on the size of your company: I think MAXUID is about 64000000 ;o)</description>
      <pubDate>Tue, 08 Feb 2005 06:16:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884419#M401155</guid>
      <dc:creator>Gordon  Morrison_1</dc:creator>
      <dc:date>2005-02-08T06:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: User ID resue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884420#M401156</link>
      <description>Thanks all. I understand that I cant stop Unix from REUSING id's.</description>
      <pubDate>Mon, 14 Feb 2005 13:36:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-id-resue/m-p/4884420#M401156</guid>
      <dc:creator>Nellian Solaiappan</dc:creator>
      <dc:date>2005-02-14T13:36:30Z</dc:date>
    </item>
  </channel>
</rss>

