<?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: Forgotten uid basics in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/forgotten-uid-basics/m-p/5087210#M441748</link>
    <description>Ralph,&lt;BR /&gt;&lt;BR /&gt;There's no hard and fast rule that I'm aware of.  It's customary to use UIDs less than 100 for system accounts and SAM follows this custom - that's probably why your password file looks as it does.  As far as your service is concerned, I see no reason at all why you shouldn't give it any UID you wish.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Wed, 09 Jan 2008 14:50:30 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2008-01-09T14:50:30Z</dc:date>
    <item>
      <title>Forgotten uid basics</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forgotten-uid-basics/m-p/5087209#M441747</link>
      <description>&lt;!--!*#--&gt;Hello Folks,&lt;BR /&gt;&lt;BR /&gt;I need to refresh my memory.&lt;BR /&gt;I have a couple of hpux servers where I need to  create a user for a mere service (no login required).&lt;BR /&gt;I think to recall that the uids &amp;lt; 100 were for special purposes under hpux.&lt;BR /&gt;But having studied the passwd manpages I haven't found such mention.&lt;BR /&gt;Theses servers have several thousands entries in passwd with all uids contiguously used starting from 101.&lt;BR /&gt;I wouldn't want to give my daemon some free uid at the tail.&lt;BR /&gt;There are a few uids unused yet between 10-100,&lt;BR /&gt;as can be seen:&lt;BR /&gt;&lt;BR /&gt;# sort -t: -k 3n,3 /etc/passwd|awk -F: 'NR&amp;lt;17{printf"%10s %3u\n",$1,$3}'    &lt;BR /&gt;    nobody 4294967294&lt;BR /&gt;      root   0&lt;BR /&gt;    daemon   1&lt;BR /&gt;       bin   2&lt;BR /&gt;       sys   3&lt;BR /&gt;       adm   4&lt;BR /&gt;      uucp   5&lt;BR /&gt;        lp   9&lt;BR /&gt;     nuucp  11&lt;BR /&gt;      hpdb  27&lt;BR /&gt;       www  30&lt;BR /&gt;  webadmin  40&lt;BR /&gt;  informix 101&lt;BR /&gt;     mysql 102&lt;BR /&gt;      iwww 103&lt;BR /&gt;      owww 104&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Well if www got 30, I cannot see why my service shouldn't get e.g. 99?&lt;BR /&gt;Or, I could userdel the mysql account, which we will most likely never use (for this is an Informix server), and assign its free uid to my new user.&lt;BR /&gt;So is there really some founded reason why one shouldn't use uids 1-100, or did my memory serve me incorrectly?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ralph</description>
      <pubDate>Wed, 09 Jan 2008 14:34:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgotten-uid-basics/m-p/5087209#M441747</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2008-01-09T14:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Forgotten uid basics</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forgotten-uid-basics/m-p/5087210#M441748</link>
      <description>Ralph,&lt;BR /&gt;&lt;BR /&gt;There's no hard and fast rule that I'm aware of.  It's customary to use UIDs less than 100 for system accounts and SAM follows this custom - that's probably why your password file looks as it does.  As far as your service is concerned, I see no reason at all why you shouldn't give it any UID you wish.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 09 Jan 2008 14:50:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgotten-uid-basics/m-p/5087210#M441748</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2008-01-09T14:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Forgotten uid basics</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forgotten-uid-basics/m-p/5087211#M441749</link>
      <description>Hi Ralph:&lt;BR /&gt;&lt;BR /&gt;Uid values less than 100 are "reserved" for HP as documented in the manpages:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B3921-60631/useradd.1M.html" target="_blank"&gt;http://docs.hp.com/en/B3921-60631/useradd.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 09 Jan 2008 15:00:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgotten-uid-basics/m-p/5087211#M441749</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-01-09T15:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Forgotten uid basics</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forgotten-uid-basics/m-p/5087212#M441750</link>
      <description>A note to add to JRFs..  The reserved HP &amp;lt; 100 ids are just that.  If HP would need a service account for an app they will typically add it in the &amp;lt; 100 range.  If you create one using &amp;lt; 100 it would not fail nor does it have any special privelage ( other than if you were to use 0 ).  Using a UID &amp;lt; 100 may just cause some conflict down the road if HP decides to use your number.&lt;BR /&gt;&lt;BR /&gt;Otherwise the organization of UIDs is in your control.&lt;BR /&gt;&lt;BR /&gt;I typically do the following.&lt;BR /&gt;&lt;BR /&gt;101-499 service accounts ( i.e. admin logins like oracle and such )&lt;BR /&gt;&lt;BR /&gt;Regular uses 1000 +&lt;BR /&gt;&lt;BR /&gt;Make up what you wish and stick to it.  It makes audit reporting alot simpler if you can run the reports against a range for audit an such.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jan 2008 15:28:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgotten-uid-basics/m-p/5087212#M441750</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-01-09T15:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Forgotten uid basics</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forgotten-uid-basics/m-p/5087213#M441751</link>
      <description>A note to add to JRFs..  The reserved HP &amp;lt; 100 ids are just that.  If HP would need a service account for an app they will typically add it in the &amp;lt; 100 range.  If you create one using &amp;lt; 100 it would not fail nor does it have any special privelage ( other than if you were to use 0 ).  Using a UID &amp;lt; 100 may just cause some conflict down the road if HP decides to use your number.&lt;BR /&gt;&lt;BR /&gt;Otherwise the organization of UIDs is in your control.&lt;BR /&gt;&lt;BR /&gt;I typically do the following.&lt;BR /&gt;&lt;BR /&gt;200-499 service accounts ( i.e. admin logins like oracle and such )&lt;BR /&gt;&lt;BR /&gt;Regular uses 1000 +&lt;BR /&gt;&lt;BR /&gt;Make up what you wish and stick to it.  It makes audit reporting alot simpler if you can run the reports against a range for audit an such.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jan 2008 15:28:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgotten-uid-basics/m-p/5087213#M441751</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-01-09T15:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Forgotten uid basics</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forgotten-uid-basics/m-p/5087214#M441752</link>
      <description>Thanks JRF,&lt;BR /&gt;don't know why this escaped my notice?&lt;BR /&gt;But then it doesn't say what it had been reserved for:&lt;BR /&gt;&lt;BR /&gt;           -u uid         Specifies the UID for the new user.  uid must be a&lt;BR /&gt;                          non-negative decimal integer less than MAXUID as&lt;BR /&gt;                          it is defined in the &lt;PARAM.H&gt; header file.  uid&lt;BR /&gt;                          defaults to the next available unique number above&lt;BR /&gt;                          the maximum currently assigned number.  UIDs from&lt;BR /&gt;                          0-99 are reserved.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But thanks to Tim we have an explanation.&lt;BR /&gt;&lt;BR /&gt;Well, I hadn't much choice because the user accounts on this box were created following other peoples' scheme.&lt;BR /&gt;I understand that my decision may not comply with HP policies and may later clash with some OS upgrade.&lt;BR /&gt;Anyway, I selected the free uid 99 for my munin-node.&lt;BR /&gt;Thanks for your clarification.&lt;BR /&gt;&lt;/PARAM.H&gt;</description>
      <pubDate>Wed, 09 Jan 2008 16:30:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgotten-uid-basics/m-p/5087214#M441752</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2008-01-09T16:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Forgotten uid basics</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forgotten-uid-basics/m-p/5087215#M441753</link>
      <description>No further help in this matter needed.</description>
      <pubDate>Wed, 09 Jan 2008 16:32:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgotten-uid-basics/m-p/5087215#M441753</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2008-01-09T16:32:10Z</dc:date>
    </item>
  </channel>
</rss>

