<?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: Problem with /etc/password in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790234#M939508</link>
    <description>Hi,&lt;BR /&gt;Do you have another user at UID 0?&lt;BR /&gt;If so, you can repair that way by logging in as an alternate admin.&lt;BR /&gt;If your not sure, log in as a regular user and more /etc/passwd to see if there is another user at UID 0. If so, your on your way to being in.&lt;BR /&gt;Note - Be very careful and mindful of multiple admin accounts as they can lead to trouble.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Kel</description>
    <pubDate>Tue, 20 Aug 2002 21:37:40 GMT</pubDate>
    <dc:creator>Kelli Ward</dc:creator>
    <dc:date>2002-08-20T21:37:40Z</dc:date>
    <item>
      <title>Problem with /etc/password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790232#M939506</link>
      <description>Hi All,&lt;BR /&gt;        I am not able log into HP machine because I changed the login shell for root from  /bin/sh to /bin/ksh in /etc/password file. Now I m not able to login in to the machine. I get the following message.   Please help me to recover.&lt;BR /&gt;&lt;BR /&gt;Local flow control on&lt;BR /&gt;Telnet TERMINAL-SPEED option ON&lt;BR /&gt;&lt;BR /&gt;HP-UX ozzie B.11.00 U 9000/800 (ta)&lt;BR /&gt;&lt;BR /&gt;login: root&lt;BR /&gt;Password: &lt;BR /&gt;Please wait...checking for disk quotas&lt;BR /&gt;No shell&lt;BR /&gt;Connection closed by foreign host.&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Aug 2002 20:36:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790232#M939506</guid>
      <dc:creator>Sushil Singh_1</dc:creator>
      <dc:date>2002-08-20T20:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790233#M939507</link>
      <description>You have now learned a valuable lesson. Leave root's password as /sbin/sh. You must have a statically linked version.&lt;BR /&gt;&lt;BR /&gt;You will need to boot from your recovery media and mount / as /root and edit /root/etc/passwd.</description>
      <pubDate>Tue, 20 Aug 2002 20:39:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790233#M939507</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-08-20T20:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790234#M939508</link>
      <description>Hi,&lt;BR /&gt;Do you have another user at UID 0?&lt;BR /&gt;If so, you can repair that way by logging in as an alternate admin.&lt;BR /&gt;If your not sure, log in as a regular user and more /etc/passwd to see if there is another user at UID 0. If so, your on your way to being in.&lt;BR /&gt;Note - Be very careful and mindful of multiple admin accounts as they can lead to trouble.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Kel</description>
      <pubDate>Tue, 20 Aug 2002 21:37:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790234#M939508</guid>
      <dc:creator>Kelli Ward</dc:creator>
      <dc:date>2002-08-20T21:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790235#M939509</link>
      <description>Hi Sushil,&lt;BR /&gt;&lt;BR /&gt; One other thing to try IF you have another HP-UX system with access to a root account&lt;BR /&gt;&lt;BR /&gt;1) Login to the other system as or become root&lt;BR /&gt;2) ftp to the original system - as root&lt;BR /&gt;ftp&amp;gt; cd /etc&lt;BR /&gt;ftp&amp;gt; lcd /etc&lt;BR /&gt;ftp&amp;gt; rename passwd passwd.bad&lt;BR /&gt;ftp&amp;gt; bin&lt;BR /&gt;ftp&amp;gt; put passwd&lt;BR /&gt;&lt;BR /&gt;Then try to login to the original system. If you get in edit the passwd.bad BACK to proper shell, rename the "temp" passwd file to passwd.tmp &amp;amp; the original back to passwd.&lt;BR /&gt;&lt;BR /&gt;It's a good idea to keep a safe backup copy of the passwd &amp;amp; group files somewhere on the system &amp;amp; cron it to copy it out at least once a week - even more if the file changes frequently.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Aug 2002 22:40:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790235#M939509</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-08-20T22:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790236#M939510</link>
      <description>(1) shutdown - probably a hard shutdown (power off)&lt;BR /&gt;&lt;BR /&gt;(2) boot (power on)&lt;BR /&gt;&lt;BR /&gt;(3) interrupt boot cycle and boot from your normal boot device BUT say "Y" to interact with ISL&lt;BR /&gt;&lt;BR /&gt;(4) then enter&lt;BR /&gt;&lt;BR /&gt;hpux -is&lt;BR /&gt;&lt;BR /&gt;(5) then when in single user mode&lt;BR /&gt;&lt;BR /&gt;fsck&lt;BR /&gt;mount -a &lt;BR /&gt;&lt;BR /&gt;(6) then fix /etc/passwd&lt;BR /&gt;&lt;BR /&gt;then reboot&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 20 Aug 2002 23:15:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790236#M939510</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-08-20T23:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790237#M939511</link>
      <description>Well.. when you reboot (hard boot) the box next time (not necessarily in single user mode), it will automatically put you in single user mode advising you to fix the root's shell. You can edit /etc/passwd file and put back /sbin/sh.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 21 Aug 2002 00:51:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790237#M939511</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-08-21T00:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790238#M939512</link>
      <description>Hi all,&lt;BR /&gt;        Thanks for all ur replys.  I tried all the option&lt;BR /&gt;&lt;BR /&gt;Mr Stephenson,&lt;BR /&gt;               I did bootup from recovery media&lt;BR /&gt;but and we to the maintenance shell, but u cannot mount any thing in maitenance shell.&lt;BR /&gt;&lt;BR /&gt;Hi Kelli,&lt;BR /&gt;         Unfortuantely, I didn't have any user with UID 0.&lt;BR /&gt;&lt;BR /&gt;Hi Jeff,&lt;BR /&gt;        I tried ftp, but login would fail as soon as u type root as a user.&lt;BR /&gt;&lt;BR /&gt;Hi Harry,&lt;BR /&gt;          Your solution was right on the money.  I followed exactly and got the problems fix.  &lt;BR /&gt;&lt;BR /&gt;Hi Sridhar,&lt;BR /&gt;            Only the root shell was wrong, therefore  the system would never come to single user mode unless and until we bring it up to single user mode.  I was able to loggin as a different log&lt;BR /&gt;&lt;BR /&gt;   Thanks u all &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Aug 2002 15:38:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790238#M939512</guid>
      <dc:creator>Sushil Singh_1</dc:creator>
      <dc:date>2002-08-21T15:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790239#M939513</link>
      <description>Ah, a mistake I've made in the past too!&lt;BR /&gt;&lt;BR /&gt;Something to remember, any time you make a change to the root entry of the password file make sure to su to root and make sure it works.&lt;BR /&gt;&lt;BR /&gt;That way if it doesn't, your still logged in as root and can fix the problem.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Aug 2002 01:32:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790239#M939513</guid>
      <dc:creator>Sean OB_1</dc:creator>
      <dc:date>2002-08-22T01:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790240#M939514</link>
      <description>guys,&lt;BR /&gt;&lt;BR /&gt;hv you tried "switch user" , i mean login as another user &amp;amp; do an &lt;BR /&gt;&lt;BR /&gt;$ su&lt;BR /&gt;&lt;BR /&gt;Kapil Raj</description>
      <pubDate>Thu, 22 Aug 2002 03:39:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790240#M939514</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2002-08-22T03:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790241#M939515</link>
      <description>try one more R&amp;amp;D not sure abt the problems after that ,&lt;BR /&gt;&lt;BR /&gt;mv /bin/ksh /bin/ksh.old (backup)&lt;BR /&gt;ln /bin/sh /bin/ksh&lt;BR /&gt;once u r able to login remove the link &amp;amp; restore actual /bin/ksh from the back up copy&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Kapil Raj</description>
      <pubDate>Thu, 22 Aug 2002 03:42:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790241#M939515</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2002-08-22T03:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790242#M939516</link>
      <description>Hi Sean,&lt;BR /&gt;        We didn't realise that we made a typogrphical mistake in the passwd file. Once we logged out, we were not able to login.  It is true that we should not edit /etc/passwd file.&lt;BR /&gt;&lt;BR /&gt;Kapil,&lt;BR /&gt;       ur theory sounds very good that we should use link.  Unfortunately, I don't think the ln command is available in a single user mode.  But I would confirm it,&lt;BR /&gt;&lt;BR /&gt; Thanks &lt;BR /&gt;</description>
      <pubDate>Thu, 22 Aug 2002 17:09:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790242#M939516</guid>
      <dc:creator>Sushil Singh_1</dc:creator>
      <dc:date>2002-08-22T17:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790243#M939517</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;If you do require to for a reason edit the /etc/passwd file then use vipw this will lock the password file to stop any discrepencies.&lt;BR /&gt;&lt;BR /&gt;To check the passwd for for inconsistency use&lt;BR /&gt;&lt;BR /&gt;pwck&lt;BR /&gt;&lt;BR /&gt;Can't remember whether /usr is mounted in single user mode (don't think it is)&lt;BR /&gt;&lt;BR /&gt;Just mount it (if not) then you can use ln command. &lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Steve&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Aug 2002 17:18:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790243#M939517</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-08-22T17:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790244#M939518</link>
      <description>Sushil,&lt;BR /&gt;&lt;BR /&gt;To be safe that this does not occur in the future, make sure all the legitimate shells are included in the /etc/shells file. Do a man on "shells" to get more info. Sometimes a shell you think is legitimate may not be included in /etc/shells, and if it does not exist, you will may run into this problem. And finally it always helps to make sure that the shell you have assigned to any user does indeed exist.&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Aug 2002 17:27:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790244#M939518</guid>
      <dc:creator>Rajasekhar Raman</dc:creator>
      <dc:date>2002-08-22T17:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790245#M939519</link>
      <description>Hi Sushil,&lt;BR /&gt;&lt;BR /&gt;Maybe this link can help. This is the recovery procedure for 10.20, but the same sort of guidelines can be followed for 11.0. The cd to be used under 11.0 would be the core install cd.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000047869320" target="_blank"&gt;http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000047869320&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The doc id is OZBEKBRC00000581&lt;BR /&gt;&lt;BR /&gt;Also try this pdf from the cookbook,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support2.external.hp.com/iv/data/documents/DE_SW_UX_swrec_EN_01_E/SystemRecovery.pdf" target="_blank"&gt;http://us-support2.external.hp.com/iv/data/documents/DE_SW_UX_swrec_EN_01_E/SystemRecovery.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Aug 2002 19:29:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790245#M939519</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-08-22T19:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790246#M939520</link>
      <description>/usr is NOT mounted when you boot in single user mode. That is why you need to boot in single user mode to extend /usr (when it is a HFS file system).&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Marty</description>
      <pubDate>Thu, 22 Aug 2002 19:45:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790246#M939520</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2002-08-22T19:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790247#M939521</link>
      <description>Thanks you all,&lt;BR /&gt;                I got to learn a lot from all ur suggestions.&lt;BR /&gt;  &lt;BR /&gt;</description>
      <pubDate>Fri, 23 Aug 2002 13:55:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790247#M939521</guid>
      <dc:creator>Sushil Singh_1</dc:creator>
      <dc:date>2002-08-23T13:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790248#M939522</link>
      <description>Sushil,&lt;BR /&gt;&lt;BR /&gt;Just a reminder to give points out to those who answered your questions. It only takes a moment, and helps make the forums more useful to everyone. &lt;BR /&gt;&lt;BR /&gt;Sean &lt;BR /&gt;</description>
      <pubDate>Thu, 12 Sep 2002 17:11:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-password/m-p/2790248#M939522</guid>
      <dc:creator>Sean OB_1</dc:creator>
      <dc:date>2002-09-12T17:11:26Z</dc:date>
    </item>
  </channel>
</rss>

