<?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: No Shell for root user in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583157#M32078</link>
    <description>There was no luck with "su root -c /sbin/sh".&lt;BR /&gt;I am using HP-UX B.11.11 on L-Class box. Can I&lt;BR /&gt;pull out the boot disk and plug in a working HP-UX B.11.20 Itanium box to make the change?&lt;BR /&gt;&lt;BR /&gt;I do not have recovery CD for HP-UX B.11.11. Can I use HP-UX B.11.00 to boot up my system and then correct the problem?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Mon, 24 Sep 2001 13:27:36 GMT</pubDate>
    <dc:creator>Oliver Tian</dc:creator>
    <dc:date>2001-09-24T13:27:36Z</dc:date>
    <item>
      <title>No Shell for root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583149#M32070</link>
      <description>I accidentally modified the ?passwd? file through vi editor.&lt;BR /&gt;Now I receive ?No Shell? message when I login as root. Then it is disconnected with the host.&lt;BR /&gt;What Can I do to fix it? Please help. Thanks.&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Sep 2001 19:25:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583149#M32070</guid>
      <dc:creator>Oliver Tian</dc:creator>
      <dc:date>2001-09-21T19:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: No Shell for root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583150#M32071</link>
      <description>Assuming the root shell is the only problem,&lt;BR /&gt;you can try this:&lt;BR /&gt;su - root -c /bin/sh&lt;BR /&gt;Hopefully it will give you a root shell and you can then fix the password file.&lt;BR /&gt;Booting to single user mode also may work.</description>
      <pubDate>Fri, 21 Sep 2001 19:42:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583150#M32071</guid>
      <dc:creator>Bernie Vande Griend</dc:creator>
      <dc:date>2001-09-21T19:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: No Shell for root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583151#M32072</link>
      <description>Hi Oliver,&lt;BR /&gt;Bad move on friday.&lt;BR /&gt;&lt;BR /&gt;interrupt the boot process within the 10 sec. &lt;BR /&gt;-Choose Y, to Interact with ISL &lt;BR /&gt;#BO PRI (or the correct path of your local primary hdd) &lt;BR /&gt;#hpux -is (launch hp-ux in single user mode) &lt;BR /&gt;&lt;BR /&gt;#mount /usr and /var (mount the necessary file system) &lt;BR /&gt;#vipw (to change the shell in /etc/passwd) &lt;BR /&gt;&lt;BR /&gt;Also check this thread&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xe66146ff9277d511abcd0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xe66146ff9277d511abcd0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Fri, 21 Sep 2001 19:42:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583151#M32072</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2001-09-21T19:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: No Shell for root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583152#M32073</link>
      <description>Hi Oliver.&lt;BR /&gt;&lt;BR /&gt;You are a bad, bad boy.&lt;BR /&gt;&lt;BR /&gt;Unless Bernie's su suggestion works this is really bad.&lt;BR /&gt;&lt;BR /&gt;Booting single-user doesn't help at all. You need to boot from a recovery CD so that your root is actually on another filesystem. You then mount your old system / and edit or copy /etc/passwd. &lt;BR /&gt;&lt;BR /&gt;If you have a spare system, another option is to remove the drive and put in a bootable system and make the changes. In any event, a recovery CD is your easist option. &lt;BR /&gt;&lt;BR /&gt;Clay &lt;BR /&gt;</description>
      <pubDate>Fri, 21 Sep 2001 19:53:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583152#M32073</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-09-21T19:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: No Shell for root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583153#M32074</link>
      <description>Hi Oliver,&lt;BR /&gt;&lt;BR /&gt;Do you use Omniback or another backup product?  If so, are there "Operator" accounts that you could use to restore /etc/password with?  I'd save the current one first incase anyone else has changed a password since the backup was made.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Fri, 21 Sep 2001 20:06:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583153#M32074</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-09-21T20:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: No Shell for root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583154#M32075</link>
      <description>su - root -c /usr/bin/ksh command does not work, and no backup had been done. I think the only option I have now is to use the Recovery CD to fix it.&lt;BR /&gt;&lt;BR /&gt;Can you give me a list of the steps on how to recover it? Thanks.&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Sep 2001 20:21:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583154#M32075</guid>
      <dc:creator>Oliver Tian</dc:creator>
      <dc:date>2001-09-21T20:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: No Shell for root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583155#M32076</link>
      <description>Hi Oliver,&lt;BR /&gt;Look the thread that I suggest it has lots of discussion about what to do when you are using recovery CD&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Fri, 21 Sep 2001 20:29:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583155#M32076</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2001-09-21T20:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: No Shell for root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583156#M32077</link>
      <description>Hi Oliver,&lt;BR /&gt;&lt;BR /&gt;Can you try,&lt;BR /&gt;&lt;BR /&gt;su root -c /sbin/sh&lt;BR /&gt;&lt;BR /&gt;See if it helps.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;</description>
      <pubDate>Sat, 22 Sep 2001 06:23:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583156#M32077</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-09-22T06:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: No Shell for root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583157#M32078</link>
      <description>There was no luck with "su root -c /sbin/sh".&lt;BR /&gt;I am using HP-UX B.11.11 on L-Class box. Can I&lt;BR /&gt;pull out the boot disk and plug in a working HP-UX B.11.20 Itanium box to make the change?&lt;BR /&gt;&lt;BR /&gt;I do not have recovery CD for HP-UX B.11.11. Can I use HP-UX B.11.00 to boot up my system and then correct the problem?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Mon, 24 Sep 2001 13:27:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583157#M32078</guid>
      <dc:creator>Oliver Tian</dc:creator>
      <dc:date>2001-09-24T13:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: No Shell for root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583158#M32079</link>
      <description>Hi Oliver,&lt;BR /&gt;I don't see any problem. You are just copying /etc/passwd file.&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Mon, 24 Sep 2001 15:18:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583158#M32079</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2001-09-24T15:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: No Shell for root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583159#M32080</link>
      <description>Hi Oliver &lt;BR /&gt;&lt;BR /&gt;you can boot from the recovery cd for 11.00 because you need to copy /etc/passwd from the recovery cd . &lt;BR /&gt;&lt;BR /&gt;booting from the recovery cd is booting a system to the memory and your / is inside the memory , after you boot from this system you can mount your own / that is the disk and copy files from te system in the memory to the system in the disk . &lt;BR /&gt;&lt;BR /&gt;after booting you will get a menu with 6 option , you will need to oper l - load a file &lt;BR /&gt;&lt;BR /&gt;because the recovery cd boot into the memory it puts in this system only few command . &lt;BR /&gt;&lt;BR /&gt;you will need to load some command but i cant tell you which command because i dont remember all of them . &lt;BR /&gt;&lt;BR /&gt;i will also advise you not to do this if you dont know how to do it . &lt;BR /&gt;&lt;BR /&gt;i can send you info about how to use recovery cd but the best way is to contact HP support for a help on this issue . &lt;BR /&gt;&lt;BR /&gt;if you want the info please give your e-mail adress and i will send it to you . &lt;BR /&gt;&lt;BR /&gt;second - allways do a ignite backup of the system , if you had ignite backup it would take a few min. to solve this issue .</description>
      <pubDate>Mon, 24 Sep 2001 15:35:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-for-root-user/m-p/2583159#M32080</guid>
      <dc:creator>eran maor</dc:creator>
      <dc:date>2001-09-24T15:35:03Z</dc:date>
    </item>
  </channel>
</rss>

