<?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: Multiple users w/UID 0 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502347#M758170</link>
    <description>Tim hit my reason for doing this right on the head.  Another glich is when you change passwd.  if you don't specify the userid, it wants to change root instead of the pseudo-root.&lt;BR /&gt;&lt;BR /&gt;My only problem is with my 10.20 version boxes and the unknown-id error whether i'm telneting to them or simply su-ing from another user...anybody have any help on why I can't, but can come in using CDE emulator (exceed)?</description>
    <pubDate>Wed, 07 Mar 2001 20:54:22 GMT</pubDate>
    <dc:creator>Shawn Hileman</dc:creator>
    <dc:date>2001-03-07T20:54:22Z</dc:date>
    <item>
      <title>Multiple users w/UID 0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502342#M758165</link>
      <description>I created 3 users and updated UID to 0 in passwd file.  Works fine on my hpux 11.0 boxes, but can't su on or telnet to my 10.20 boxes (with new users), gives me 'unknown id', but works fine if login through CDE.&lt;BR /&gt;&lt;BR /&gt;Doesn't seem to be a securetty check or any option I can find in SAM....&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;btw, reason for this is we have 3 sa's.  Is there a better way to have 3 root type users?</description>
      <pubDate>Wed, 07 Mar 2001 17:13:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502342#M758165</guid>
      <dc:creator>Shawn Hileman</dc:creator>
      <dc:date>2001-03-07T17:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users w/UID 0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502343#M758166</link>
      <description>Hello,&lt;BR /&gt;just be very carefull, when you delete one of your add-on users. &lt;BR /&gt;Be sure NOT to delete all files belonging to user "ruth", because an "ls -l" check tells you that "ruth" has no files as they are owned by "root" (which is displayed as a first match of /etc/passwd).&lt;BR /&gt;You will end up installing a new system if you do, as this delete goes numeric, not alpha-based !&lt;BR /&gt;Good reasons to have second "roots" may be, if you like to use another shell. You should never change the "root" shell to other than /sbin/sh, because you might not get access to /usr/bin/ksh if your /usr filesystem is defective. This will lock you out.&lt;BR /&gt;&lt;BR /&gt;Just my 2 cent&lt;BR /&gt;Volker</description>
      <pubDate>Wed, 07 Mar 2001 17:48:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502343#M758166</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2001-03-07T17:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users w/UID 0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502344#M758167</link>
      <description>You can use uid=0, but I would prefer to have folks login as themselves then su to root (and if I've given them root rights...I gave them the password).  That way you eliminate the chances of the problem Volker mentioned.&lt;BR /&gt;&lt;BR /&gt;Another 2cents,&lt;BR /&gt;/rcw&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Mar 2001 17:54:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502344#M758167</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2001-03-07T17:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users w/UID 0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502345#M758168</link>
      <description>A better way to implement this might&lt;BR /&gt;be to setup sudo.  sudo allows you&lt;BR /&gt;to give "normal" user accounts the&lt;BR /&gt;ability to run commands as root.  You&lt;BR /&gt;can find more information about sudo&lt;BR /&gt;at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.courtesan.com/sudo/" target="_blank"&gt;http://www.courtesan.com/sudo/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;As for why you can't log in as those&lt;BR /&gt;alternative root users I would look in&lt;BR /&gt;/var/adm/syslog/syslog.log to see if&lt;BR /&gt;you see any other errors being&lt;BR /&gt;generated on login.</description>
      <pubDate>Wed, 07 Mar 2001 19:05:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502345#M758168</guid>
      <dc:creator>Keith Bunge</dc:creator>
      <dc:date>2001-03-07T19:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users w/UID 0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502346#M758169</link>
      <description>I've used this method for years and has many benefits.  It is a good way to have multiple sa's access the box where they can each have their own login id, password, preferred shell, login directory, shell history, etc.  Where they already have root priviledges, they don't have a need for the actual root password.  So in the event that one of the sa's leaves the organization, you only need to lock out their account instead of immediately changing every root password on every machine.  The only password gotcha I'm aware of is the CDE screen saver password where it wants actual root instead.  Another thing I do is make these logins part of the 'adm' group instead of 'sys' .  This makes it easier to determine what was done manually vs a cron or daemon.  There is one important thing though.  A more restrictive umask than root's can be problematic with swinstall.  It seems that the fileset installs have been setup with root's default umask in mind instead of overriding things to what they should be.  The same thing happens if root's umask is adjusted so I consider it an swinstall issue.</description>
      <pubDate>Wed, 07 Mar 2001 19:41:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502346#M758169</guid>
      <dc:creator>Tim Malnati</dc:creator>
      <dc:date>2001-03-07T19:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users w/UID 0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502347#M758170</link>
      <description>Tim hit my reason for doing this right on the head.  Another glich is when you change passwd.  if you don't specify the userid, it wants to change root instead of the pseudo-root.&lt;BR /&gt;&lt;BR /&gt;My only problem is with my 10.20 version boxes and the unknown-id error whether i'm telneting to them or simply su-ing from another user...anybody have any help on why I can't, but can come in using CDE emulator (exceed)?</description>
      <pubDate>Wed, 07 Mar 2001 20:54:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502347#M758170</guid>
      <dc:creator>Shawn Hileman</dc:creator>
      <dc:date>2001-03-07T20:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users w/UID 0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502348#M758171</link>
      <description>Hi Richard,&lt;BR /&gt;I when implement many UID 0 accounts (max 4) is to deny direct login by using /etc/securetty, create almost ordinary accounts except for primary group which is bin, so these users can modify and access where others cant without doing an su - user-root-account, in each root account .profile I log who and from where(IP) he did the su, but each user owns its own passwd and I keep root passwd for myself (logged also Though I also use my pseudoroot...) so like that I check there is no one else but the allowed people doing the su to theyr accounts&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;&lt;BR /&gt;Victor</description>
      <pubDate>Wed, 07 Mar 2001 21:52:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502348#M758171</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2001-03-07T21:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users w/UID 0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502349#M758172</link>
      <description>A good habit to get into is to ALWAYS declare the user login id when changing a password.  When you are su'd into a user account from root you can certainly change a password, but depending on the specific flavor of unix you may be changing the user's password and root's on others.  Declaring the user login id eliminates any confusion forever (even if it's your own).&lt;BR /&gt;&lt;BR /&gt;I can't answer your unknown id issue, I've never run into it with the arrangement I described (on both 10.20 and 11.0).  My CDE menuing is setup to telnet or rlogin with the -l option so I login as the alternate root user.  I also have some additional scripting going on so that my DISPLAY variable is automatically set after I'm in (another reason for a separate login).</description>
      <pubDate>Thu, 08 Mar 2001 00:38:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502349#M758172</guid>
      <dc:creator>Tim Malnati</dc:creator>
      <dc:date>2001-03-08T00:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users w/UID 0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502350#M758173</link>
      <description>Best advice you can get is to NEVER have multiple root users!  Here are just a few of the reasons:&lt;BR /&gt;&lt;BR /&gt;- Users tend to forget they are root and make very bad mistakes.&lt;BR /&gt;&lt;BR /&gt;- The first thing a hacker does is to promote an ordinary user to root..it's just a 1-number change and hard to find by hand but has a very bad effect on your system.&lt;BR /&gt;&lt;BR /&gt;- If you use SAM to remove one of the users when they leave the company, SAM will dutifully remove all files owned by that user--which happens to be every HP-UX system file on the computer.&lt;BR /&gt;&lt;BR /&gt;The list goes on but the reasons all have very bad real world experiences.  The rule is: NEVER use the root login if there is any other way to accomplish a given task. By requiring every SA to login as themselves, and then su to root only when required (securetty to prevent direct root logins).  When a user logs in as themselves every day, after a while they completely forget that they are really root.&lt;BR /&gt;&lt;BR /&gt;For new sysadmins, they should only be allowed to use sudo for selected commands to protect the production systems.</description>
      <pubDate>Thu, 08 Mar 2001 01:27:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502350#M758173</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-03-08T01:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users w/UID 0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502351#M758174</link>
      <description>We have our admins log in as themselves and use sudo to kick off a root window. Rather than knowing the root password, each admin user only needs to know their own password, and sudo is configured to prompt for it.&lt;BR /&gt;&lt;BR /&gt;Our policy is that no one should log in directly as root - no way to tell who does what. Each time a user uses sudo to open an xterm as root there is an entry placed in syslog.log - thus we know who/when someone uses root. &lt;BR /&gt;&lt;BR /&gt;Whenever a person leaves we simply disable their personal account and remove them from /etc/sudoers.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Mar 2001 18:29:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502351#M758174</guid>
      <dc:creator>Jerry L. Anderson</dc:creator>
      <dc:date>2001-03-13T18:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users w/UID 0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502352#M758175</link>
      <description>Not sure why you get the failed login.&lt;BR /&gt;&lt;BR /&gt;but PLEASE check out the sudo reference.&lt;BR /&gt;&lt;BR /&gt;I've used it for years and would not have a UNIX system without it.&lt;BR /&gt;&lt;BR /&gt;just introduce it gradually and learn the gotchas like;&lt;BR /&gt;sudo command &amp;gt; file # file gets your ID&lt;BR /&gt;and &lt;BR /&gt;sudo command1 | command2 # so does command unles you do&lt;BR /&gt;sudo command1 | sudo command2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Jim&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Apr 2001 13:52:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-users-w-uid-0/m-p/2502352#M758175</guid>
      <dc:creator>Jim Hendrick</dc:creator>
      <dc:date>2001-04-04T13:52:28Z</dc:date>
    </item>
  </channel>
</rss>

