<?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: How to add a second root on a HP-UX platform in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-second-root-on-a-hp-ux-platform/m-p/2695956#M56672</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;you can create a nornal user account using sam, and specify user id 0. which gives root privlidges.&lt;BR /&gt;&lt;BR /&gt;John.</description>
    <pubDate>Wed, 03 Apr 2002 10:54:59 GMT</pubDate>
    <dc:creator>John Carr_2</dc:creator>
    <dc:date>2002-04-03T10:54:59Z</dc:date>
    <item>
      <title>How to add a second root on a HP-UX platform</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-second-root-on-a-hp-ux-platform/m-p/2695955#M56671</link>
      <description>I want to create a second administrator (root) on a server under HP-UNIX 11.0 platform.&lt;BR /&gt;I've heard that this is possibile but i don't know how to do.&lt;BR /&gt;Is it possible to do it with SAM ???&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 03 Apr 2002 10:49:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-second-root-on-a-hp-ux-platform/m-p/2695955#M56671</guid>
      <dc:creator>Mehdi_3</dc:creator>
      <dc:date>2002-04-03T10:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a second root on a HP-UX platform</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-second-root-on-a-hp-ux-platform/m-p/2695956#M56672</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;you can create a nornal user account using sam, and specify user id 0. which gives root privlidges.&lt;BR /&gt;&lt;BR /&gt;John.</description>
      <pubDate>Wed, 03 Apr 2002 10:54:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-second-root-on-a-hp-ux-platform/m-p/2695956#M56672</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2002-04-03T10:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a second root on a HP-UX platform</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-second-root-on-a-hp-ux-platform/m-p/2695957#M56673</link>
      <description>It is possible, but has inherent risks attached to it. Remember that if you "backdoor" the roor user, anything that you do to the NEW user will apply to root. Thus keep the shells the same at ALL times.&lt;BR /&gt;&lt;BR /&gt;Just create a user in the /etc/passwd file with the same UID of root, that being 0.&lt;BR /&gt;&lt;BR /&gt;Just be careful.....&lt;BR /&gt;&lt;BR /&gt;MND</description>
      <pubDate>Wed, 03 Apr 2002 10:57:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-second-root-on-a-hp-ux-platform/m-p/2695957#M56673</guid>
      <dc:creator>Marc Dijkstra</dc:creator>
      <dc:date>2002-04-03T10:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a second root on a HP-UX platform</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-second-root-on-a-hp-ux-platform/m-p/2695958#M56674</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Create a user account and give it the user id 0.&lt;BR /&gt;&lt;BR /&gt;I'm no sure SAM will allow this but you can easily change the UID number in the passwd file.&lt;BR /&gt;&lt;BR /&gt;But be aware: Having a second UID=0 is a potential security risk and not recommended !!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Rainer&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Apr 2002 11:00:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-second-root-on-a-hp-ux-platform/m-p/2695958#M56674</guid>
      <dc:creator>Rainer von Bongartz</dc:creator>
      <dc:date>2002-04-03T11:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a second root on a HP-UX platform</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-second-root-on-a-hp-ux-platform/m-p/2695959#M56675</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It is possible but be aware of the following.&lt;BR /&gt;&lt;BR /&gt;System Administrator may set up multiple accounts with the same uid, however this is done with the understanding that reverse uid lookups will find only the first instance of a&lt;BR /&gt;uid in the /etc/passwd file. Multiple accounts with the same uid are allowed, but will not work as expected with all commands.&lt;BR /&gt;&lt;BR /&gt;C.&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Apr 2002 11:03:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-second-root-on-a-hp-ux-platform/m-p/2695959#M56675</guid>
      <dc:creator>Clemens van Everdingen</dc:creator>
      <dc:date>2002-04-03T11:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a second root on a HP-UX platform</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-second-root-on-a-hp-ux-platform/m-p/2695960#M56676</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;as I said earlier you CAN do this in SAM I did it before I posted the answer.&lt;BR /&gt;&lt;BR /&gt;John.</description>
      <pubDate>Wed, 03 Apr 2002 11:07:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-second-root-on-a-hp-ux-platform/m-p/2695960#M56676</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2002-04-03T11:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a second root on a HP-UX platform</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-second-root-on-a-hp-ux-platform/m-p/2695961#M56677</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I don't like the idea to create another user with id 0.&lt;BR /&gt;what happen if you delete that user in sam with remove all files that belong to this user.</description>
      <pubDate>Wed, 03 Apr 2002 11:27:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-second-root-on-a-hp-ux-platform/m-p/2695961#M56677</guid>
      <dc:creator>Printaporn_1</dc:creator>
      <dc:date>2002-04-03T11:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a second root on a HP-UX platform</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-second-root-on-a-hp-ux-platform/m-p/2695962#M56678</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can just duplicatie to root-line in the /etc/passwd file and change the name and the password, but:&lt;BR /&gt;&lt;BR /&gt;You do not really have to "root" accounts: You will not be able to differ between this two account or even see, what was been done by which account.&lt;BR /&gt;&lt;BR /&gt;Heiner</description>
      <pubDate>Wed, 03 Apr 2002 11:39:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-second-root-on-a-hp-ux-platform/m-p/2695962#M56678</guid>
      <dc:creator>Heiner E. Lennackers</dc:creator>
      <dc:date>2002-04-03T11:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a second root on a HP-UX platform</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-second-root-on-a-hp-ux-platform/m-p/2695963#M56679</link>
      <description>Yes, you can have multiple root users by simply editing the passwd file.  However, it is a SEVERE security and stability risk!!!!  Don't do it!!!&lt;BR /&gt;&lt;BR /&gt;The first thing a hacker tries to do when breaking in is to attain root privileges and the one of these ways is to change an ordinary user ID into UID=0. Also, this poor user that is 'privileged' to have UID=0 will perform all normal functions with root privileges (reading email, writing scripts, cleaning up directories) and will very likely forget that rm -r * is incredibly dangerous. And then if that user leaves the company and you remove their login along with all the files that they own, you will destroy the entire system.&lt;BR /&gt;&lt;BR /&gt;There are many other risks to such a plan. Instead, look at the man page for SAM concerning -r or restricted SAM and assign the required duties to this user. SAM will control access rights and the user is still an ordinary user.&lt;BR /&gt;&lt;BR /&gt;Another alternative (very useful) is to download sudo, the SuperUser enablement program. It not limits users as to the types of commands they can run but can even limit the parameters allowed with specific commands (such as the device file used for mounting a CDROM).&lt;BR /&gt;&lt;BR /&gt;Get a copy from: &lt;A href="http://hpux.connect.org.uk/" target="_blank"&gt;http://hpux.connect.org.uk/&lt;/A&gt; (the HP-UX Porting and Archive Centre) or any of their mirrors.</description>
      <pubDate>Wed, 03 Apr 2002 12:56:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-second-root-on-a-hp-ux-platform/m-p/2695963#M56679</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-04-03T12:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a second root on a HP-UX platform</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-second-root-on-a-hp-ux-platform/m-p/2695964#M56680</link>
      <description>Hi Mehdi,&lt;BR /&gt;&lt;BR /&gt;Edit your /etc/passwd and add your new username and then assign it a "0" as a User ID.&lt;BR /&gt;This will allow you to have a second root user on the Unix box.&lt;BR /&gt;&lt;BR /&gt;Magdi</description>
      <pubDate>Wed, 03 Apr 2002 14:22:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-second-root-on-a-hp-ux-platform/m-p/2695964#M56680</guid>
      <dc:creator>Magdi KAMAL</dc:creator>
      <dc:date>2002-04-03T14:22:02Z</dc:date>
    </item>
  </channel>
</rss>

