<?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: single user mode - changing root passwd in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055160#M305166</link>
    <description>Sorry, sorry, i am not running the system in trusted mode.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In HP-Ux , which log file contains the all login attemts ?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 16 Aug 2007 03:58:38 GMT</pubDate>
    <dc:creator>shashi kanth</dc:creator>
    <dc:date>2007-08-16T03:58:38Z</dc:date>
    <item>
      <title>single user mode - changing root passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055147#M305153</link>
      <description>I am seeing a strange behaviour with HP-Ux 11.23 PA.&lt;BR /&gt;&lt;BR /&gt;I played with SSH, RSH, Rlogin, inetd, and bash shell . Suddenly, i am not able to login to the box as a root user (physically, and remotely). I am not understanding what went wrong.&lt;BR /&gt;&lt;BR /&gt;I have copied the /etc/nsswitch.hpdefault to /etc/nsswitch.conf and modified /etc/nsswitch.conf with "files" as staring options for "hosts" and "networks". Does this actions caused this problem ?&lt;BR /&gt;&lt;BR /&gt;Can anyone tell me, how to go single user mode in HP-Ux so that i can change the root passwd?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Aug 2007 01:49:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055147#M305153</guid>
      <dc:creator>shashi kanth</dc:creator>
      <dc:date>2007-08-16T01:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: single user mode - changing root passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055148#M305154</link>
      <description>Interupt the boot process.&lt;BR /&gt;at the IPL&amp;gt; prompt type 'hpux -is' &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Aug 2007 01:56:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055148#M305154</guid>
      <dc:creator>Luk Vandenbussche</dc:creator>
      <dc:date>2007-08-16T01:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: single user mode - changing root passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055149#M305155</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;You can't change the default shell in root to bash in /etc/passwd. Well actually you can but your system will stop working, so don't do that.&lt;BR /&gt;&lt;BR /&gt;All hpux machines have a 10 second prompt that permits you to interupt boot at console.&lt;BR /&gt;&lt;BR /&gt;bo&lt;BR /&gt;&lt;ENTER&gt;&lt;BR /&gt;# Answer Y to interact question.&lt;BR /&gt;hpux -is&lt;BR /&gt;&lt;ENTER&gt;&lt;BR /&gt;&lt;BR /&gt;Just as a pointer, -lm will take you into logical volume maintenance mode which is useful for lvm problems in the future.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/ENTER&gt;&lt;/ENTER&gt;</description>
      <pubDate>Thu, 16 Aug 2007 02:10:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055149#M305155</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-16T02:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: single user mode - changing root passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055150#M305156</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1.Reboot the system.&lt;BR /&gt;2.Interrupt the autoboot process when it asks to do so.&lt;BR /&gt;3.In main menu give "bo pri"&lt;BR /&gt;4.Press "Y" to interact with IPL&lt;BR /&gt;5.In ISL prompt give "hpux -is"  to boot the system into single user mode&lt;BR /&gt;6.System will boot into single user mode.&lt;BR /&gt;7.Then you can use passwd command to change the password&lt;BR /&gt;8.The steps may not work for Trusted systems.&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Aug 2007 02:11:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055150#M305156</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2007-08-16T02:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: single user mode - changing root passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055151#M305157</link>
      <description>Boot in Primary disk&lt;BR /&gt;Please select a boot option&lt;BR /&gt;&lt;BR /&gt;    HP-UX Primary Boot: 0/1/1/1.2.0&lt;BR /&gt;    EFI Shell [Built-in]&lt;BR /&gt;    Boot option maintenance menu&lt;BR /&gt;    Security/Password Menu&lt;BR /&gt;&lt;BR /&gt;Press Any Key to interrupt Autoboot&lt;BR /&gt;AUTO ==&amp;gt; boot :IINSTALL&lt;BR /&gt;Seconds left till autoboot -   9&lt;BR /&gt;&amp;gt;&amp;gt; Interrupt the auto-boot sequence by pressing the SPACE bar.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HP-UX Single user mode:&lt;BR /&gt;&lt;BR /&gt;HPUX&amp;gt; boot vmunix -is&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Aug 2007 02:16:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055151#M305157</guid>
      <dc:creator>Joelmel Roche</dc:creator>
      <dc:date>2007-08-16T02:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: single user mode - changing root passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055152#M305158</link>
      <description>&lt;BR /&gt;Shashi,&lt;BR /&gt;&lt;BR /&gt;I encourage you to learn from our knowledge based, system boot handbook.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&amp;amp;docId=emr_na-c01037092-1" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&amp;amp;docId=emr_na-c01037092-1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this help&lt;BR /&gt;&lt;BR /&gt;WK</description>
      <pubDate>Thu, 16 Aug 2007 02:21:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055152#M305158</guid>
      <dc:creator>whiteknight</dc:creator>
      <dc:date>2007-08-16T02:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: single user mode - changing root passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055153#M305159</link>
      <description>All,&lt;BR /&gt;&lt;BR /&gt;I have gone to the single user mode, changed the password for root, and changed the shell of root from "/usr/local/bin/bash" to "/sbin/sh", rebooted the box, but still root not able to login.&lt;BR /&gt;&lt;BR /&gt;Once again went to single user mode, added a normal user, rebooted the box, but still even a normal user also not able to login.&lt;BR /&gt;&lt;BR /&gt;What is this behaviour in HP-Ux ?&lt;BR /&gt;&lt;BR /&gt;I am not understanding, which one is the cause for this problem .&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Aug 2007 03:33:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055153#M305159</guid>
      <dc:creator>shashi kanth</dc:creator>
      <dc:date>2007-08-16T03:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: single user mode - changing root passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055154#M305160</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Could you paste the error you are getting when you login?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 16 Aug 2007 03:40:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055154#M305160</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2007-08-16T03:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: single user mode - changing root passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055155#M305161</link>
      <description>Login incorrect</description>
      <pubDate>Thu, 16 Aug 2007 03:42:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055155#M305161</guid>
      <dc:creator>shashi kanth</dc:creator>
      <dc:date>2007-08-16T03:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: single user mode - changing root passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055156#M305162</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Are you able to change the password in single user mode?&lt;BR /&gt;&lt;BR /&gt;Are you able login through console?&lt;BR /&gt;&lt;BR /&gt;If /etc/securetty is present, check the content or move the file and try to login.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 16 Aug 2007 03:46:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055156#M305162</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2007-08-16T03:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: single user mode - changing root passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055157#M305163</link>
      <description>&lt;BR /&gt;Shashi,&lt;BR /&gt;&lt;BR /&gt;1) Are you in trusted system mode ?&lt;BR /&gt;&lt;BR /&gt;if you can go to single user mode.&lt;BR /&gt;&lt;BR /&gt;2) /usr/lbin/tsconvert -r&lt;BR /&gt;&lt;BR /&gt;3) change root password&lt;BR /&gt;&lt;BR /&gt;4) init 3 (to multi user mode)&lt;BR /&gt;&lt;BR /&gt;5) login again.&lt;BR /&gt;&lt;BR /&gt;WK&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Aug 2007 03:48:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055157#M305163</guid>
      <dc:creator>whiteknight</dc:creator>
      <dc:date>2007-08-16T03:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: single user mode - changing root passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055158#M305164</link>
      <description>I am able to change the password at single user mode.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/etc/securetty file is present, and this file conatils an entry "console"&lt;BR /&gt;&lt;BR /&gt;I have deleted that entry, then i executed "login" command , and given my root credentials, but still it fails.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Aug 2007 03:52:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055158#M305164</guid>
      <dc:creator>shashi kanth</dc:creator>
      <dc:date>2007-08-16T03:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: single user mode - changing root passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055159#M305165</link>
      <description>Even i moved /etc/securetty file, but still ............&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I am running the system in trusted mode.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Aug 2007 03:56:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055159#M305165</guid>
      <dc:creator>shashi kanth</dc:creator>
      <dc:date>2007-08-16T03:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: single user mode - changing root passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055160#M305166</link>
      <description>Sorry, sorry, i am not running the system in trusted mode.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In HP-Ux , which log file contains the all login attemts ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Aug 2007 03:58:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055160#M305166</guid>
      <dc:creator>shashi kanth</dc:creator>
      <dc:date>2007-08-16T03:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: single user mode - changing root passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055161#M305167</link>
      <description>wtmp</description>
      <pubDate>Thu, 16 Aug 2007 04:01:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055161#M305167</guid>
      <dc:creator>Anshumali</dc:creator>
      <dc:date>2007-08-16T04:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: single user mode - changing root passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055162#M305168</link>
      <description>If the root password is incorrect for some reason and noone is currently&lt;BR /&gt;logged in as root, boot the system into single user mode, fsck the file&lt;BR /&gt;systems if necessary and reset the root password:&lt;BR /&gt;&lt;BR /&gt;   # mount -a&lt;BR /&gt;   # /usr/sam/lbin/usermod.sam -F -p "" root&lt;BR /&gt;&lt;BR /&gt;Note: The system should be kept in a secure place and only users with&lt;BR /&gt;      appropriate privileges should have access to the system to boot it&lt;BR /&gt;      into single user mode.&lt;BR /&gt;&lt;BR /&gt;Initialize the system into multi user mode, login as root and choose a correct&lt;BR /&gt;root password. Remain logged in as root and verify that the new password works.&lt;BR /&gt;&lt;BR /&gt;Note: If boot authentication has been configured, the root password also&lt;BR /&gt;      needs to be supplied to login to single user mode. The above solution&lt;BR /&gt;      will not work in this case.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Aug 2007 04:04:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055162#M305168</guid>
      <dc:creator>Joelmel Roche</dc:creator>
      <dc:date>2007-08-16T04:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: single user mode - changing root passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055163#M305169</link>
      <description>Try this...&lt;BR /&gt;# /usr/lbin/modprpw -m&lt;BR /&gt;usrpick=NO,syspnpw=NO,rstrpw=NO,nullpw=NO,syschpw=NO,sysltpw=NO [username]&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt;# /usr/lbin/modprpw -m&lt;BR /&gt;usrpick=NO,syspnpw=NO,rstrpw=NO,nullpw=NO,syschpw=NO,sysltpw=NO cmcd &lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;Logged in as cmcd:&lt;BR /&gt;&lt;BR /&gt;$ passwd&lt;BR /&gt;Changing password for cmcd&lt;BR /&gt;Old password:&lt;BR /&gt;Last successful password change for cmcd888: Wed Sep 15 16:18:05 2004&lt;BR /&gt;Last unsuccessful password change for cmcd888: NEVER&lt;BR /&gt;&lt;BR /&gt;passwd: not allowed to run passwd&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Aug 2007 04:10:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055163#M305169</guid>
      <dc:creator>Joelmel Roche</dc:creator>
      <dc:date>2007-08-16T04:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: single user mode - changing root passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055164#M305170</link>
      <description>&lt;BR /&gt;Hi Shashi,&lt;BR /&gt;&lt;BR /&gt;Try move the file /etc/securetty instead of remove the "console" entry.&lt;BR /&gt;&lt;BR /&gt;#mv /etc/securetty /etc/securetty.old&lt;BR /&gt;&lt;BR /&gt;I am not sure how you are login into the system. If that file contain the entry "console", then you will be able to login as root through serial console only.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 16 Aug 2007 04:31:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055164#M305170</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2007-08-16T04:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: single user mode - changing root passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055165#M305171</link>
      <description>"/usr/sam/lbin/usermod.sam -F -p "" root" -- doesn't help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/usr/lbin/modprpw -- doesn't help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I think, above two are for trusted systems.&lt;BR /&gt;&lt;BR /&gt;i have moved the /etc/securetty file to /etc/securetty.bak&lt;BR /&gt;&lt;BR /&gt;But, still, no user (root, as well as my normal users) not able to login (physically - console, as well as remotely).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Aug 2007 04:35:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055165#M305171</guid>
      <dc:creator>shashi kanth</dc:creator>
      <dc:date>2007-08-16T04:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: single user mode - changing root passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055166#M305172</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;I played with SSH, RSH, Rlogin, inetd, and bash shell&lt;BR /&gt;--&lt;BR /&gt;&lt;BR /&gt;Did you change the /etc/inetd.conf file, could you remove the changes or cp a backup file back?&lt;BR /&gt;&lt;BR /&gt;If /usr is mounted could you run pwck?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 16 Aug 2007 04:50:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/single-user-mode-changing-root-passwd/m-p/4055166#M305172</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2007-08-16T04:50:53Z</dc:date>
    </item>
  </channel>
</rss>

