<?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: Root user in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-user/m-p/2909113#M106830</link>
    <description>useradd -u 0 -o -g sys -m -c "Second Root User" -s /sbin/sh root2&lt;BR /&gt;&lt;BR /&gt;This will create the user with a directory of /home/root2&lt;BR /&gt;</description>
    <pubDate>Thu, 20 Feb 2003 13:09:06 GMT</pubDate>
    <dc:creator>Chris Wilshaw</dc:creator>
    <dc:date>2003-02-20T13:09:06Z</dc:date>
    <item>
      <title>Root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-user/m-p/2909111#M106828</link>
      <description>Is there a way of creating a second root user ie. root2 with all the same privileges so it can stop/restart system/application processes when needed ??</description>
      <pubDate>Thu, 20 Feb 2003 13:01:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-user/m-p/2909111#M106828</guid>
      <dc:creator>Kevin_107</dc:creator>
      <dc:date>2003-02-20T13:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-user/m-p/2909112#M106829</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;modify your UID to be 0&lt;BR /&gt;&lt;BR /&gt;you can either do it when creating the user in SAM &lt;BR /&gt;&lt;BR /&gt;or modify your password file&lt;BR /&gt;&lt;BR /&gt;root:ItDrkovo.KRhs:0:3::/:/sbin/sh&lt;BR /&gt;                   ^^&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Thu, 20 Feb 2003 13:08:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-user/m-p/2909112#M106829</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2003-02-20T13:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-user/m-p/2909113#M106830</link>
      <description>useradd -u 0 -o -g sys -m -c "Second Root User" -s /sbin/sh root2&lt;BR /&gt;&lt;BR /&gt;This will create the user with a directory of /home/root2&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Feb 2003 13:09:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-user/m-p/2909113#M106830</guid>
      <dc:creator>Chris Wilshaw</dc:creator>
      <dc:date>2003-02-20T13:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-user/m-p/2909114#M106831</link>
      <description>Er, yes set UID = 0, you probably don't want to do this though, if you search the forums I'm sure you'll find stuff telling you why it's not a good idea.&lt;BR /&gt;&lt;BR /&gt;For example what happens if you go to delete this other user and delete all the files it owns.  All files owned by root will be deleted.&lt;BR /&gt;I picked that up from a post on the forum somewhere and it made me think.&lt;BR /&gt;&lt;BR /&gt;Can you not just get what you want from su?  Or sudo (again search for this)?&lt;BR /&gt;Would I be right in saying you have two admins and they both want to have different passwords?&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Feb 2003 13:11:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-user/m-p/2909114#M106831</guid>
      <dc:creator>Gavin Clarke</dc:creator>
      <dc:date>2003-02-20T13:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-user/m-p/2909115#M106832</link>
      <description>Hi Kevin:&lt;BR /&gt;&lt;BR /&gt;There are a number of ways to handle situations like this.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Using "restricted SAM" is one method.  See the man pages for 'sam' for more information.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Using 'sudo' is another (common) choice.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Creating setuid scripts or c-wrappers is sometimes done, but this can be a large security risk.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 20 Feb 2003 13:12:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-user/m-p/2909115#M106832</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-02-20T13:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-user/m-p/2909116#M106833</link>
      <description>Hi (again) Kevin:&lt;BR /&gt;&lt;BR /&gt;While any account with a uid=0 is a superuser account, *beware* the day you (or your successor) forget that the account named 'kevin' is such an account, and you (or your successor) runs something like:&lt;BR /&gt;&lt;BR /&gt;# find / -type f -user kevin -exec rm {} \;&lt;BR /&gt;&lt;BR /&gt;...the result is that files with uid=0 are removed.  Guess which files!!!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 20 Feb 2003 13:15:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-user/m-p/2909116#M106833</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-02-20T13:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-user/m-p/2909117#M106834</link>
      <description>hi again,&lt;BR /&gt;&lt;BR /&gt;Yes, Mr. James R. Ferguson  is right!&lt;BR /&gt;&lt;BR /&gt;SUDO will be a much better alternative to consider.&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Thu, 20 Feb 2003 13:26:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-user/m-p/2909117#M106834</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2003-02-20T13:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-user/m-p/2909118#M106835</link>
      <description>Watch out if you use sudo though. There are a number of security issues that can arise around this if you don't be careful when you configure it(the favourite is gaining a root shell when you really never intended that to happen).</description>
      <pubDate>Thu, 20 Feb 2003 13:40:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-user/m-p/2909118#M106835</guid>
      <dc:creator>Colin Topliss</dc:creator>
      <dc:date>2003-02-20T13:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-user/m-p/2909119#M106836</link>
      <description>Just $.02.&lt;BR /&gt;&lt;BR /&gt;You have good suggestions on how to do this, just some comments on use.&lt;BR /&gt;&lt;BR /&gt;We've used multiple root ids on hp-ux v7-11, SCO Unix, Solaris, AIX, and various Linuxes.  Works very nicely on all, and avoids changing every root password on every server every time a sysadmin leaves (the "real" root passwords are escrowed with me by the primary sysadmin for the platform).  But we always use a name consisting of initials+root, e.g wceroot, to avoid confusion with one's vanilla ids.</description>
      <pubDate>Fri, 21 Feb 2003 15:07:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-user/m-p/2909119#M106836</guid>
      <dc:creator>W.C. Epperson</dc:creator>
      <dc:date>2003-02-21T15:07:14Z</dc:date>
    </item>
  </channel>
</rss>

