<?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: BACKUP ROOT ID in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169922#M457799</link>
    <description>Hello Omprakash,&lt;BR /&gt;you can set owner and group ID for xxxxxx user simillir as root in /etc/password file, its then indirectly as root user. let me know.&lt;BR /&gt;</description>
    <pubDate>Thu, 16 Apr 2009 03:57:56 GMT</pubDate>
    <dc:creator>avizen9</dc:creator>
    <dc:date>2009-04-16T03:57:56Z</dc:date>
    <item>
      <title>BACKUP ROOT ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169921#M457798</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have created backup root ID in Hp ux 11.11, I am normally used to go root by providing the #su command. But here i want root access without #su command. That is if am entering login: xxxxxx&lt;BR /&gt;Password: 8888888&lt;BR /&gt;&lt;BR /&gt;It should show # prompt, without entering #su command. Request you to provide me the solution, Thanks in Advance.</description>
      <pubDate>Thu, 16 Apr 2009 02:43:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169921#M457798</guid>
      <dc:creator>Omprakash_2</dc:creator>
      <dc:date>2009-04-16T02:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP ROOT ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169922#M457799</link>
      <description>Hello Omprakash,&lt;BR /&gt;you can set owner and group ID for xxxxxx user simillir as root in /etc/password file, its then indirectly as root user. let me know.&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Apr 2009 03:57:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169922#M457799</guid>
      <dc:creator>avizen9</dc:creator>
      <dc:date>2009-04-16T03:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP ROOT ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169923#M457800</link>
      <description>&amp;gt;I have created backup root ID&lt;BR /&gt;&lt;BR /&gt;What steps did you do?  Or are you asking how to do it?</description>
      <pubDate>Thu, 16 Apr 2009 04:09:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169923#M457800</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-04-16T04:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP ROOT ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169924#M457801</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have created through SAM and provided the uid as "0". Then i tried to login but its shows incorrect password, then i tried to login to my account(Normal user account) and i provide #su XXXXX , now i can able to access the system as root. My requirement is i dont want to put #su XXXXX command to access root.&lt;BR /&gt;&lt;BR /&gt;I already checked the /etc/passwd file.</description>
      <pubDate>Thu, 16 Apr 2009 04:30:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169924#M457801</guid>
      <dc:creator>Omprakash_2</dc:creator>
      <dc:date>2009-04-16T04:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP ROOT ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169925#M457802</link>
      <description>HI,&lt;BR /&gt;have you also verify the group id? you can put group id same as root,&lt;BR /&gt;&lt;BR /&gt;if your password is not working, please vi /etc/passwd file and remove password string for this user (keep it blank) and then on command prompt set new password with passwd command, let me know, thanks,</description>
      <pubDate>Thu, 16 Apr 2009 04:34:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169925#M457802</guid>
      <dc:creator>avizen9</dc:creator>
      <dc:date>2009-04-16T04:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP ROOT ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169926#M457803</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;just open your /etc/passwd file into vi&lt;BR /&gt;edit 2 things &lt;BR /&gt;&lt;BR /&gt;1.uid make it 0&lt;BR /&gt;2.gid make it 0&lt;BR /&gt;&lt;BR /&gt;see the example&lt;BR /&gt;&lt;BR /&gt;suraj:x:0:0:SA:/home/suraj:/bin/bash&lt;BR /&gt;&lt;BR /&gt;logout and again loggin&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
      <pubDate>Thu, 16 Apr 2009 04:45:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169926#M457803</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2009-04-16T04:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP ROOT ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169927#M457804</link>
      <description>"I have created through SAM and provided the uid as "0". Then i tried to login but its shows incorrect password, then i tried to login to my account(Normal user account) and i provide #su XXXXX , now i can able to access the system as root. My requirement is i dont want to put #su XXXXX command to access root."&lt;BR /&gt;&lt;BR /&gt;1. It needs to be su - XXXX so that the profile of the user gets executed.&lt;BR /&gt;&lt;BR /&gt;2. Also since I believe you are able to execute all the root command, could you confirm the same via&lt;BR /&gt;&lt;BR /&gt;# whoami&lt;BR /&gt;&amp;gt;&amp;gt; This should display root.&lt;BR /&gt;&lt;BR /&gt;If yes, then the question is why it shows login incorrect ?&lt;BR /&gt;&lt;BR /&gt;Are you able to login via root user directly ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Apr 2009 05:02:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169927#M457804</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-04-16T05:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP ROOT ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169928#M457805</link>
      <description>&amp;gt;I have created through SAM and provided the uid as "0". Then I tried to login but it shows incorrect password&lt;BR /&gt;&lt;BR /&gt;What password did you assign, the same as you tried?  You didn't use @ or # did you?  (These are generally verboten.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;My requirement is I don't want to put #su XXXXX command to access root.&lt;BR /&gt;&lt;BR /&gt;Then you need to know the password, that you had to use when you used "su XXXXX" from a non-root user.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Avinash: could you confirm the same via whoami&lt;BR /&gt;&lt;BR /&gt;Another command would be id(1).</description>
      <pubDate>Thu, 16 Apr 2009 08:43:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169928#M457805</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-04-16T08:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP ROOT ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169929#M457806</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Do yourself and your company a big favor.  Abandon your attempts to duplicate the 'root' account (which as noted, is any uid=0).&lt;BR /&gt;&lt;BR /&gt;Aside from weakening your system's security, someone, one day, might decide to remove the account and any files owned by it.  Then, by example, assuming that the user is named "omprakash" do:&lt;BR /&gt;&lt;BR /&gt;# find / -user omprakash -exec rm -rf {} +&lt;BR /&gt;&lt;BR /&gt;...they have just removed everything owned by _root_ since "omprakash' is also uid=0.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 16 Apr 2009 11:10:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169929#M457806</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-04-16T11:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP ROOT ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169930#M457807</link>
      <description>"...someone, one day, might decide to remove the account and any files owned by it...."&lt;BR /&gt;&lt;BR /&gt;Right.  Auditors will ding you as well, plus selecting the incorrect option when removing the user in SAM can smoke the files as well I believe.  &lt;BR /&gt;&lt;BR /&gt;There are numerous threads here describing this issue.  &lt;BR /&gt;&lt;BR /&gt;"You have been warned"</description>
      <pubDate>Thu, 16 Apr 2009 17:07:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169930#M457807</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-04-16T17:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP ROOT ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169931#M457808</link>
      <description>There cannot be two root users in unix. As far as i know you cannot do this. The only option you have is what you have already done. create an admin user account with uid and gid 0. &lt;BR /&gt;&lt;BR /&gt;No back up root users can be created. The admin for a unix box can only be root</description>
      <pubDate>Fri, 17 Apr 2009 02:13:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169931#M457808</guid>
      <dc:creator>UVK_1</dc:creator>
      <dc:date>2009-04-17T02:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP ROOT ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169932#M457809</link>
      <description>&amp;gt;OldSchool: plus selecting the incorrect option when removing the user in SAM can smoke the files as well I believe.&lt;BR /&gt;&lt;BR /&gt;This may be apocryphal since SAM now checks.</description>
      <pubDate>Fri, 17 Apr 2009 03:47:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169932#M457809</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-04-17T03:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP ROOT ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169933#M457810</link>
      <description>&amp;gt;UVK: There cannot be two root users in unix.  The only option you have is what you have already done, create an admin user account with uid and gid 0.&lt;BR /&gt;&lt;BR /&gt;You are confused.  Your second statement conflicts with the first.&lt;BR /&gt;Anyone with UID of 0 IS root.  They may just have different names, home directories or shells.&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Apr 2009 04:17:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169933#M457810</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-04-17T04:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP ROOT ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169934#M457811</link>
      <description>&lt;!--!*#--&gt;i think i know what your problem is. if you really want to log in as root through ssh, you should uncomment this line in /etc/opt/ssh/sshd_config:&lt;BR /&gt;&lt;BR /&gt;#PermitRootLogin yes&lt;BR /&gt;&lt;BR /&gt;so just remove the hashmark at the beginning of the above mentioned line, and restart the openssh daemon like this:&lt;BR /&gt;&lt;BR /&gt;#/sbin/init.d/secsh stop;/sbin/init.d/secsh start&lt;BR /&gt;&lt;BR /&gt;mark that the activ ssh connections won't be affected by the restart</description>
      <pubDate>Sat, 18 Apr 2009 16:26:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169934#M457811</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2009-04-18T16:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP ROOT ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169935#M457812</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thnaks for your support</description>
      <pubDate>Wed, 22 Apr 2009 03:17:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-root-id/m-p/5169935#M457812</guid>
      <dc:creator>Omprakash_2</dc:creator>
      <dc:date>2009-04-22T03:17:40Z</dc:date>
    </item>
  </channel>
</rss>

