<?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: Duplicate root user in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591388#M231407</link>
    <description>Hi Zuls&lt;BR /&gt;&lt;BR /&gt;Create a new user with name other than root and set uid to 0. This user will have same previlages as of root&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Mahesh</description>
    <pubDate>Thu, 28 Jul 2005 00:55:02 GMT</pubDate>
    <dc:creator>Mahesh Kumar Malik</dc:creator>
    <dc:date>2005-07-28T00:55:02Z</dc:date>
    <item>
      <title>Duplicate root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591386#M231405</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How can i duplicate a root user and also all the authentication, permission, kernel config.&lt;BR /&gt;&lt;BR /&gt;Any advise. Since i never do this before.&lt;BR /&gt;&lt;BR /&gt;TQ&lt;BR /&gt;&lt;BR /&gt;Rgrds,&lt;BR /&gt;Zuls</description>
      <pubDate>Thu, 28 Jul 2005 00:43:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591386#M231405</guid>
      <dc:creator>Zulkarnain Bin Salim</dc:creator>
      <dc:date>2005-07-28T00:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591387#M231406</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;create new entry (new user) in /etc/passwd with id 0.&lt;BR /&gt;example :&lt;BR /&gt;&lt;BR /&gt;pippo:*:0:3::/:/sbin/sh&lt;BR /&gt;&lt;BR /&gt;DM.</description>
      <pubDate>Thu, 28 Jul 2005 00:51:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591387#M231406</guid>
      <dc:creator>mirco_1</dc:creator>
      <dc:date>2005-07-28T00:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591388#M231407</link>
      <description>Hi Zuls&lt;BR /&gt;&lt;BR /&gt;Create a new user with name other than root and set uid to 0. This user will have same previlages as of root&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Mahesh</description>
      <pubDate>Thu, 28 Jul 2005 00:55:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591388#M231407</guid>
      <dc:creator>Mahesh Kumar Malik</dc:creator>
      <dc:date>2005-07-28T00:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591389#M231408</link>
      <description>The user name 'root' does not matter.&lt;BR /&gt;What gives the user root his privileges is his UID 0.&lt;BR /&gt;&lt;BR /&gt;So you can create a new user with any name and give him the UID 0 to grant all 'root' priviliges.&lt;BR /&gt;&lt;BR /&gt;BUT: You should NOT do this. Best practices for Unix systems is always to have only 1 user with the UID 0.&lt;BR /&gt;&lt;BR /&gt;If you need to grant all (or some) root priviliges to another user you should think about using the sudo tool.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Rainer&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jul 2005 01:15:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591389#M231408</guid>
      <dc:creator>Rainer von Bongartz</dc:creator>
      <dc:date>2005-07-28T01:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591390#M231409</link>
      <description>Solution is given that uid has to be like root's one as 0. It is not recommeded to make like that. Global permission has to be given to a unique person called root in *NIX ;) &lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Thu, 28 Jul 2005 06:40:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591390#M231409</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-07-28T06:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591391#M231410</link>
      <description>Muthukumar brings up a point related to WHY do you want to do this.&lt;BR /&gt;&lt;BR /&gt;You can have the multiple users with uid 0, but it raises some security concerns.&lt;BR /&gt;&lt;BR /&gt;Another way is to allow certain people root access.&lt;BR /&gt;&lt;BR /&gt;Yet another way is to allow certain people to run certain commands via "sudo" as root.&lt;BR /&gt;&lt;BR /&gt;Or even set up sudo so that users can become root but their becoming root is logged to syslog.&lt;BR /&gt;&lt;BR /&gt;See here for details:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=728865" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=728865&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jul 2005 06:50:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591391#M231410</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2005-07-28T06:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591392#M231411</link>
      <description>Hi Kent and all the guru,&lt;BR /&gt;&lt;BR /&gt;I do glance through the article about the sudo, but honestly i blur how actually it works. And how can i implement it. &lt;BR /&gt;&lt;BR /&gt;Since the user like to have second user as root for the disaster recovery plan.&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;&lt;BR /&gt;TQ.&lt;BR /&gt;&lt;BR /&gt;Rgrds,&lt;BR /&gt;Zuls</description>
      <pubDate>Thu, 28 Jul 2005 07:07:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591392#M231411</guid>
      <dc:creator>Zulkarnain Bin Salim</dc:creator>
      <dc:date>2005-07-28T07:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591393#M231412</link>
      <description>I really think a second root user for disaster recovery is overkill.&lt;BR /&gt;&lt;BR /&gt;What's wrong with:&lt;BR /&gt;&lt;BR /&gt;1. booting into single user mode to reset the root password if it is lost; or&lt;BR /&gt;&lt;BR /&gt;2. using an ignite backup.&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Thu, 28 Jul 2005 07:24:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591393#M231412</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2005-07-28T07:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591394#M231413</link>
      <description>Hi Marks and all the gurus,&lt;BR /&gt;&lt;BR /&gt;It corrects but this user will be use only on the emergency incidents purpose since this server quite difficult to restart.&lt;BR /&gt;&lt;BR /&gt;I think i will be implement the UID=0 for the emergency issue. Like, login with the new user than run passwd root change it back and then, login back to as root.&lt;BR /&gt;&lt;BR /&gt;It is better solutions.&lt;BR /&gt;&lt;BR /&gt;Rgrds,&lt;BR /&gt;Zuls</description>
      <pubDate>Thu, 28 Jul 2005 08:09:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591394#M231413</guid>
      <dc:creator>Zulkarnain Bin Salim</dc:creator>
      <dc:date>2005-07-28T08:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591395#M231414</link>
      <description>I disagree 110%.  Another UID 0 user is a BAD BAD BAD idea and a BIG BIG BIG Security risk.&lt;BR /&gt;&lt;BR /&gt;Several problems I can think of:&lt;BR /&gt;&lt;BR /&gt;1) What is you forget the password to the other UID 0 user?  It does you no good then.&lt;BR /&gt;&lt;BR /&gt;2) If this is a trusted system, what if you don't use the user and it gets locked out because of inactivity?  Again it does you no good.&lt;BR /&gt;&lt;BR /&gt;3) It's a BIG security hole.  If someone gets into your system and discovers the password for the duplicate UID 0 user, then they now have FULL access to your system.&lt;BR /&gt;&lt;BR /&gt;4) You say it will only be used in DR situations.  Yeah right!  If the ID is there it will get used.&lt;BR /&gt;&lt;BR /&gt;I strongly advise AGAINST another UID 0 user.&lt;BR /&gt;&lt;BR /&gt;You should go back and look at sudo.  It is a much much better solution.&lt;BR /&gt;&lt;BR /&gt;If sudo is set up correctly, you can do anything with it that you can with root.  If the root ID is locked out, you can do something like 'sudo su -' to log in as root so the problem can be fixed.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jul 2005 08:16:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591395#M231414</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-07-28T08:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591396#M231415</link>
      <description>Yes you can do this - by creating another userid with uid=0&lt;BR /&gt;&lt;BR /&gt;I have done this in the past - when I worked in a place with 2 other admins - who were less then capable - so to protect my back side - I created a rootg account - that way, anything done as root was audited as well as what I did - as rootg.&lt;BR /&gt;&lt;BR /&gt;For DRP - sure - that would work - but remember - just because you make say an id called:  rootdr&lt;BR /&gt;&lt;BR /&gt;That will not prevent them from doing:&lt;BR /&gt;&lt;BR /&gt;su -&lt;BR /&gt;&lt;BR /&gt;without a password - so, in effect - they are root with out the root password....&lt;BR /&gt;&lt;BR /&gt;If it's for dr only, why not lock up the root password in a vault - then when a dr strike - or a dr test - have that person follow your dr book and get the root password.&lt;BR /&gt;&lt;BR /&gt;Either way is fine...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 28 Jul 2005 08:24:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591396#M231415</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-07-28T08:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591397#M231416</link>
      <description>You say a second UID of 0 is the best solution because the server is difficult to start.&lt;BR /&gt;&lt;BR /&gt;Can you explain to us why it's difficult to start?&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Thu, 28 Jul 2005 08:30:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591397#M231416</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2005-07-28T08:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591398#M231417</link>
      <description>Having more than one UID 0 login is not a Disaster Recovery Plan; it's simply a Disaster that hasn't happened yet.</description>
      <pubDate>Thu, 28 Jul 2005 08:44:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591398#M231417</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-07-28T08:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591399#M231418</link>
      <description>As others have pointed out this is a BIG security risk.  If this system is ever audited, it will be classified a severe security violation.&lt;BR /&gt;&lt;BR /&gt;Unix file ownership is not based on id, rather UID.  By giving another user a duplicate UID, you are blurring who owns what, and eliminating the capability to trace who has done what.&lt;BR /&gt;&lt;BR /&gt;sudo is an easy solution to your problem, and it actually quite easy to implement. And if you have problems with it, there are plenty of people in this forum who would be willing to answer your questions.&lt;BR /&gt;&lt;BR /&gt;Finally, if this is for DR purposes, then it is not necessary.  In a DR you will be recovering from tape to a new system.  By definition you know the root password on the system you are installing to.  If there is an issue with the password boot into single user mode and change the password.</description>
      <pubDate>Thu, 28 Jul 2005 09:01:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591399#M231418</guid>
      <dc:creator>DCE</dc:creator>
      <dc:date>2005-07-28T09:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591400#M231419</link>
      <description>Hi Gurus,&lt;BR /&gt;&lt;BR /&gt;Advance thanks for your replies. I really appreciate it.&lt;BR /&gt;&lt;BR /&gt;I will follow your suggestion not to have second UID=0 since it will kill me and my repo outside the IT world.&lt;BR /&gt;&lt;BR /&gt;Anyway, will you all give me some advise how can i start to implement the sudo exercise, i.e where to download, and setup guide.....&lt;BR /&gt;&lt;BR /&gt;Please advice. &amp;amp; TQ&lt;BR /&gt;&lt;BR /&gt;Rgrds, Zuls</description>
      <pubDate>Thu, 28 Jul 2005 09:31:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591400#M231419</guid>
      <dc:creator>Zulkarnain Bin Salim</dc:creator>
      <dc:date>2005-07-28T09:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591401#M231420</link>
      <description>I'll jump on this too.&lt;BR /&gt;&lt;BR /&gt;If you're setting your "other" root user up just in case you can't get into your main root user then that's very very bad.&lt;BR /&gt;&lt;BR /&gt;This would imply that you are rarely if ever going to use the "other" root user, which also implies that you will have to set it up with a password that never expires.  This gives any potential hackers all the time in the world to compromise the password.&lt;BR /&gt;&lt;BR /&gt;It's been said so many times, but once more won't harm and hopefully you will realise - DON'T DO IT!&lt;BR /&gt;&lt;BR /&gt;It really isn't that difficult to setup sudo.</description>
      <pubDate>Thu, 28 Jul 2005 09:31:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591401#M231420</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2005-07-28T09:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591402#M231421</link>
      <description>Simon and all the gurus,&lt;BR /&gt;&lt;BR /&gt;Please advice me, at least some guide&lt;BR /&gt;how to download and guide to installation and setup .... I'm new to this unix world&lt;BR /&gt;&lt;BR /&gt;Advance thanks all gurus.&lt;BR /&gt;&lt;BR /&gt;Rgrds, Zuls</description>
      <pubDate>Thu, 28 Jul 2005 09:35:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591402#M231421</guid>
      <dc:creator>Zulkarnain Bin Salim</dc:creator>
      <dc:date>2005-07-28T09:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591403#M231422</link>
      <description>SUDO Home page:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.gratisoft.us/sudo/" target="_blank"&gt;http://www.gratisoft.us/sudo/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HP-UX versions of sudo:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.8p9/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.8p9/&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.8p7/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.8p7/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jul 2005 10:04:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591403#M231422</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-07-28T10:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591404#M231423</link>
      <description>Hi Zuls,&lt;BR /&gt;&lt;BR /&gt;An option could be create a normal user and grant rights to switch to root user.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Carles&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jul 2005 10:05:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591404#M231423</guid>
      <dc:creator>Carles Viaplana</dc:creator>
      <dc:date>2005-07-28T10:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591405#M231424</link>
      <description>And just so you know: the first place a hacker sets up shop is to change an ordinary user into UID=0. The user may not even know that this has happened. If you create multiple UID=0 users, it eill be difficult to detect hackers. Look at the output from:&lt;BR /&gt; &lt;BR /&gt;logins -d</description>
      <pubDate>Thu, 28 Jul 2005 14:33:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplicate-root-user/m-p/3591405#M231424</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-07-28T14:33:07Z</dc:date>
    </item>
  </channel>
</rss>

