<?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: su: No shell in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338034#M343085</link>
    <description>&amp;gt;rm: .pwd.lock Permission Denied&lt;BR /&gt;&lt;BR /&gt;Are you root?  What does id(1) show?&lt;BR /&gt;If you aren't root, you will have to go into single user mode.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Venkatesh: I think it's recommended that you use '/sbin/sh' instead &lt;BR /&gt;&lt;BR /&gt;This is NOT just a recommendation, this is a hard requirement.</description>
    <pubDate>Thu, 15 Jan 2009 05:07:54 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2009-01-15T05:07:54Z</dc:date>
    <item>
      <title>su: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338025#M343076</link>
      <description>#su -&lt;BR /&gt;su: No shell&lt;BR /&gt;Segmentation fault&lt;BR /&gt;&lt;BR /&gt;#vi /etc/passwd&lt;BR /&gt;root:TlhWDUMmhUbG6:0:3::/:/sbin/tcsh &lt;BR /&gt;-&amp;gt; not login&lt;BR /&gt;lbs:AO21eh5Sbv6MI:2000:101:LBS,,,:/data6/lbs:/usr/bin/tcsh &lt;BR /&gt;-&amp;gt; login&lt;BR /&gt;&lt;BR /&gt;#ftp 192.168.0.3&lt;BR /&gt;Name (192.168.0.3:lbs): root&lt;BR /&gt;530 User root access denied...&lt;BR /&gt;Login failed.&lt;BR /&gt;&lt;BR /&gt;#ftp 192.168.0.3&lt;BR /&gt;Name (192.168.0.3:lbs): lbs&lt;BR /&gt;230 User lbs logged in.&lt;BR /&gt;&lt;BR /&gt;#rcp /tmp/passwd 192.168.0.3:/etc/passwd&lt;BR /&gt;remshd: /sbin/tcsh: No such file or directory&lt;BR /&gt;&lt;BR /&gt;remote Server&lt;BR /&gt;&lt;BR /&gt;please help me.&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jan 2009 04:13:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338025#M343076</guid>
      <dc:creator>한상희_1</dc:creator>
      <dc:date>2009-01-15T04:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: su: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338026#M343077</link>
      <description>&amp;gt;root:TlhWDUMmhUbG6:0:3::/:/sbin/tcsh &lt;BR /&gt;&lt;BR /&gt;You must never ever do this.  The only shell for root is /sbin/sh.  Except no substitutes!&lt;BR /&gt;&lt;BR /&gt;After you login, you could invoke tcsh.&lt;BR /&gt;The above errors indicate that /sbin/tcsh may not exist at all?</description>
      <pubDate>Thu, 15 Jan 2009 04:20:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338026#M343077</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-01-15T04:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: su: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338027#M343078</link>
      <description>#pwck&lt;BR /&gt;&lt;BR /&gt;root:TlhWDUMmhUbG6:0:3::/:/sbin/tcsh&lt;BR /&gt;        Optional shell file not found&lt;BR /&gt;        Invalid root shell</description>
      <pubDate>Thu, 15 Jan 2009 04:23:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338027#M343078</guid>
      <dc:creator>한상희_1</dc:creator>
      <dc:date>2009-01-15T04:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: su: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338028#M343079</link>
      <description>change the shell using vipw command. don't use vi to edit /etc/passwd file.&lt;BR /&gt;&lt;BR /&gt;#vipw</description>
      <pubDate>Thu, 15 Jan 2009 04:29:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338028#M343079</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2009-01-15T04:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: su: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338029#M343080</link>
      <description>&amp;gt;#vi /etc/passwd&lt;BR /&gt;&amp;gt; root:TlhWDUMmhUbG6:0:3::/:/sbin/tcsh &lt;BR /&gt;-&amp;gt; not login&lt;BR /&gt;&amp;gt;lbs:AO21eh5Sbv6MI:2000:101:LBS,,,:/data6/lbs:/usr/bin/tcsh &lt;BR /&gt;&amp;gt;-&amp;gt; login&lt;BR /&gt;&lt;BR /&gt;Looks like '/sbin/tcsh' is not available of the system (try '11 /sbin/tcsh' command). I think its recommended that you use '/sbin/sh' instead (as proposed by Dennis already).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jan 2009 04:30:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338029#M343080</guid>
      <dc:creator>Venkatesh BL</dc:creator>
      <dc:date>2009-01-15T04:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: su: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338030#M343081</link>
      <description>#vipw&lt;BR /&gt;lckpwdf: Permission denied&lt;BR /&gt;vipw: Cannot obtain lock for /etc/.pwd.lock&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jan 2009 04:39:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338030#M343081</guid>
      <dc:creator>한상희_1</dc:creator>
      <dc:date>2009-01-15T04:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: su: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338031#M343082</link>
      <description>Check for the /etc/pwd.lock file.  If it's there, remove it.</description>
      <pubDate>Thu, 15 Jan 2009 04:42:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338031#M343082</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-01-15T04:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: su: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338032#M343083</link>
      <description>ok then. use command&lt;BR /&gt;&lt;BR /&gt;#usermod -s root /sbin/sh</description>
      <pubDate>Thu, 15 Jan 2009 04:47:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338032#M343083</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2009-01-15T04:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: su: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338033#M343084</link>
      <description>#rm -rf .pwd.lock&lt;BR /&gt;rm: .pwd.lock Permission Denied&lt;BR /&gt;#usermod -s root /sbin/sh&lt;BR /&gt;Permission Denied</description>
      <pubDate>Thu, 15 Jan 2009 04:53:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338033#M343084</guid>
      <dc:creator>한상희_1</dc:creator>
      <dc:date>2009-01-15T04:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: su: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338034#M343085</link>
      <description>&amp;gt;rm: .pwd.lock Permission Denied&lt;BR /&gt;&lt;BR /&gt;Are you root?  What does id(1) show?&lt;BR /&gt;If you aren't root, you will have to go into single user mode.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Venkatesh: I think it's recommended that you use '/sbin/sh' instead &lt;BR /&gt;&lt;BR /&gt;This is NOT just a recommendation, this is a hard requirement.</description>
      <pubDate>Thu, 15 Jan 2009 05:07:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338034#M343085</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-01-15T05:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: su: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338035#M343086</link>
      <description>Can you post the output of:&lt;BR /&gt;1) id&lt;BR /&gt;2) echo $SHELL&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jan 2009 05:11:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338035#M343086</guid>
      <dc:creator>Venkatesh BL</dc:creator>
      <dc:date>2009-01-15T05:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: su: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338036#M343087</link>
      <description>&amp;gt; Dennis: This is NOT just a recommendation, this is a hard requirement.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5992-4607/ch03s01.html?btnNext=next%A0%BB" target="_blank"&gt;http://docs.hp.com/en/5992-4607/ch03s01.html?btnNext=next%A0%BB&lt;/A&gt; confirms this. "The login shell in field 7 must be /sbin/sh"&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jan 2009 05:21:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/4338036#M343087</guid>
      <dc:creator>Venkatesh BL</dc:creator>
      <dc:date>2009-01-15T05:21:51Z</dc:date>
    </item>
  </channel>
</rss>

