<?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 Lost root password in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552217#M28283</link>
    <description>If I su root, I still need password. I still can log on my account. Does it help? Please tell me how to get in the password file from a user.</description>
    <pubDate>Thu, 12 Jul 2001 22:16:56 GMT</pubDate>
    <dc:creator>Jessica Nguyen</dc:creator>
    <dc:date>2001-07-12T22:16:56Z</dc:date>
    <item>
      <title>Lost root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552217#M28283</link>
      <description>If I su root, I still need password. I still can log on my account. Does it help? Please tell me how to get in the password file from a user.</description>
      <pubDate>Thu, 12 Jul 2001 22:16:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552217#M28283</guid>
      <dc:creator>Jessica Nguyen</dc:creator>
      <dc:date>2001-07-12T22:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Lost root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552218#M28284</link>
      <description>A regular user generally can't access the passwd file.  You could try 'vi /etc/passwd' but I doubt it will let you save it.&lt;BR /&gt;&lt;BR /&gt;Another option is if you have restricted SAM set up to allow other users to set up accounts.  If you have this you should be able to go in and change root's passwd.</description>
      <pubDate>Thu, 12 Jul 2001 22:20:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552218#M28284</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-07-12T22:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Lost root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552219#M28285</link>
      <description>If you check sam for a user with a user id of 0 can change passwords too. We have a "backup" root user with and id of 0. That makes it a superuser that is just as powerfull as root.&lt;BR /&gt;&lt;BR /&gt;Richard&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jul 2001 22:43:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552219#M28285</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2001-07-12T22:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Lost root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552220#M28286</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The other guys have sort of got you on the &lt;BR /&gt;right track. I would like add something else.&lt;BR /&gt;&lt;BR /&gt;I would suggest that implement a well known&lt;BR /&gt;product called 'sudo' This will allow you to&lt;BR /&gt;secure your system so that anybody that wishes&lt;BR /&gt;to add, modify. or delete users can but only &lt;BR /&gt;has access to this.&lt;BR /&gt;&lt;BR /&gt;I've attached the link for you.&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;Regards&lt;BR /&gt;Michael</description>
      <pubDate>Thu, 12 Jul 2001 23:20:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552220#M28286</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-07-12T23:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Lost root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552221#M28287</link>
      <description>If you have lost the root password, there is nothing you can do as an ordinary user to reset the password.  You will have to reboot the machine, interrupt the boot process and use hpux -is to enter single user mode.  Remember that /usr and /var will not be mounted so once in single user mode, mount these 2 directories so you'll have access to vipw to edit the password file.  If the system is trusted, you'll need to edit /tcb directory.&lt;BR /&gt;&lt;BR /&gt;Regarding duplicate root ID's, this is can be a very big security and stability risk, especially if an ordinary username has the extra UID 0. From a security point of view, the first place a hacker will try to modify is a normal user into a UID 0.  The other problem is when a user logs in with this non-root account name (UID 0) but has forgotten that they are root and makes a big mistake such as a recursive rm command (the infamous "rm -r * Club")&lt;BR /&gt;&lt;BR /&gt;I would order the brand new HP-UX Security book from HP Press authored by Chris Wong as soon as possible.</description>
      <pubDate>Thu, 12 Jul 2001 23:22:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552221#M28287</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-07-12T23:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Lost root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552222#M28288</link>
      <description>I can't get to sam in order to change my user id to 0. I already reboot the system, but I don't know how to interrupt the reboot process . Please advise.&lt;BR /&gt;I have a retired system, and it is still functioning. I wish I can ftp the root power to my account in the new system, but I was just able to ftp the .profile only. I get the warning that I am the superuser, but I have no root power. Please advise how to ftp the root power from one system to the other.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Jul 2001 15:53:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552222#M28288</guid>
      <dc:creator>Jessica Nguyen</dc:creator>
      <dc:date>2001-07-13T15:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Lost root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552223#M28289</link>
      <description>hi,&lt;BR /&gt;The procedure to boot the system in single user mode is as follows...&lt;BR /&gt;if u reboot the machine, in the console u will get a message like this&lt;BR /&gt;"Autoserach for boot path enabled&lt;BR /&gt;To override press any key with in 10 sec"&lt;BR /&gt;press any key at this time, u will get a question to boot from primary boot path.&lt;BR /&gt;you have to give y as answer. then it will ask do u want to interact with IPL, u have to answer Y. &lt;BR /&gt;then u will get an ISL prompt.&lt;BR /&gt;ISL&amp;gt;&lt;BR /&gt;in this prompt u enter the command &lt;BR /&gt;ISL&amp;gt; hpux -is&lt;BR /&gt;this will boot the system in single user mode. &lt;BR /&gt;it will not ask for the root password. now u can change the password of root by typing the command "passwd".&lt;BR /&gt;regards&lt;BR /&gt;jayamohan</description>
      <pubDate>Sat, 14 Jul 2001 05:54:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552223#M28289</guid>
      <dc:creator>JAYAMOHAN.V.D</dc:creator>
      <dc:date>2001-07-14T05:54:45Z</dc:date>
    </item>
  </channel>
</rss>

