<?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: shell in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2488113#M19075</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Root's shell should always be /sbin/sh, which is the POSIX shell.  The su command will always read /etc/passwd for the shell to launch so that will not help you.&lt;BR /&gt;&lt;BR /&gt;To fix /etc/passwd, you will have to boot to single user mode, which won't ask you for a root password, and then edit /etc/passwd with vi.  If your's is a trusted system, you will need to get a fresh /etc/passwd from either a recovery tape or from the installation cd.&lt;BR /&gt;&lt;BR /&gt;--Bruce</description>
    <pubDate>Tue, 30 Jan 2001 20:32:05 GMT</pubDate>
    <dc:creator>Bruce Regittko_1</dc:creator>
    <dc:date>2001-01-30T20:32:05Z</dc:date>
    <item>
      <title>shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2488111#M19073</link>
      <description>when i am connected with login root , the system answers: no shell,&lt;BR /&gt;in fact in the /etc/passwd root has  /sbin/ksh as shell&lt;BR /&gt;but /sbin/ksh does not exist &lt;BR /&gt;how to force a shell with "su" &lt;BR /&gt;thanks&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Jan 2001 20:13:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2488111#M19073</guid>
      <dc:creator>lamy_1</dc:creator>
      <dc:date>2001-01-30T20:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2488112#M19074</link>
      <description>change it to /sbin/sh for the born shell</description>
      <pubDate>Tue, 30 Jan 2001 20:25:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2488112#M19074</guid>
      <dc:creator>Joseph C. Denman</dc:creator>
      <dc:date>2001-01-30T20:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2488113#M19075</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Root's shell should always be /sbin/sh, which is the POSIX shell.  The su command will always read /etc/passwd for the shell to launch so that will not help you.&lt;BR /&gt;&lt;BR /&gt;To fix /etc/passwd, you will have to boot to single user mode, which won't ask you for a root password, and then edit /etc/passwd with vi.  If your's is a trusted system, you will need to get a fresh /etc/passwd from either a recovery tape or from the installation cd.&lt;BR /&gt;&lt;BR /&gt;--Bruce</description>
      <pubDate>Tue, 30 Jan 2001 20:32:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2488113#M19075</guid>
      <dc:creator>Bruce Regittko_1</dc:creator>
      <dc:date>2001-01-30T20:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2488114#M19076</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Root's shell should ALWAYS be /sbin/sh in /etc/passwd.  This is the POSIX shell -- a superset of the ksh (Korn).  Notice that the path is /sbin and not /usr.  /usr isn't mounted during initial startup sequences.&lt;BR /&gt;&lt;BR /&gt;The ksh shell is found in /usr/bin/.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 30 Jan 2001 20:39:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2488114#M19076</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-01-30T20:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2488115#M19077</link>
      <description>Hi Lamy,&lt;BR /&gt;&lt;BR /&gt;Root shell should always be /sbin/sh, it has been said before.&lt;BR /&gt;&lt;BR /&gt;The reasons for this are the following:&lt;BR /&gt;- all other shell reside in /usr/bin and that directory isn't mounted when you boot single user and ...&lt;BR /&gt;- /sbin/sh is an statically linked executable while other shells rely on dynamic libraries (located in /usr/lib)&lt;BR /&gt;&lt;BR /&gt;The second point prevents you from copying another shell to /sbin at the libraries are only available when /usr is mounted.&lt;BR /&gt;&lt;BR /&gt;You may change the entry in /etc/passwd if you log-in as a user and do a 'su' (not 'su -').&lt;BR /&gt;This will allow you to use 'vipw' to edit the password file.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Jan 2001 07:02:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2488115#M19077</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-01-31T07:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2488116#M19078</link>
      <description>Please see:&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x2efaa14d9abcd4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x2efaa14d9abcd4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Jan 2001 14:58:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2488116#M19078</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2001-01-31T14:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2488117#M19079</link>
      <description>From man passwd:&lt;BR /&gt;&lt;BR /&gt;   The login shell for the root user (uid 0) must be /sbin/sh.  Other                                                            &lt;BR /&gt;      shells such as sh, ksh, and csh are all located under the /usr                                                                &lt;BR /&gt;      directory which may not be mounted during earlier stages of the bootup                                                        &lt;BR /&gt;                                                                                                                                    &lt;BR /&gt; Hewlett-Packard Company            - 3 -    HP-UX Release 10.20:  July 1996                                                        &lt;BR /&gt;                                                                                                                                    &lt;BR /&gt; passwd(4)                                                         passwd(4)                                                        &lt;BR /&gt;                                                                                                                                    &lt;BR /&gt;      process. Changing the login shell of the root user to a value other                                                           &lt;BR /&gt;      than /sbin/sh may result in a non-functional system.</description>
      <pubDate>Wed, 31 Jan 2001 15:33:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2488117#M19079</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2001-01-31T15:33:00Z</dc:date>
    </item>
  </channel>
</rss>

