<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell/m-p/3521452#M219992</link>
    <description>Hi Luis HÃ©tor Desachy&lt;BR /&gt;&lt;BR /&gt; Can you please paste the /etc/passwd. Or See that the shell exists in the /etc/passwd file.&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;D K</description>
    <pubDate>Mon, 11 Apr 2005 00:26:45 GMT</pubDate>
    <dc:creator>Deepak Kulkarni</dc:creator>
    <dc:date>2005-04-11T00:26:45Z</dc:date>
    <item>
      <title>No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell/m-p/3521448#M219988</link>
      <description>Hi I need you help!!&lt;BR /&gt;I've a user in hpux 11.i and when she/he try to access the message appears.&lt;BR /&gt;"no shell"&lt;BR /&gt;"Connection closed by foreign host"&lt;BR /&gt;&lt;BR /&gt;I verified the permission in /etc/passwd /etc/group /usr/bin/sh /bin/sh, etc.&lt;BR /&gt;&lt;BR /&gt;what append.</description>
      <pubDate>Sat, 09 Apr 2005 16:08:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell/m-p/3521448#M219988</guid>
      <dc:creator>Luis Hétor Desachy</dc:creator>
      <dc:date>2005-04-09T16:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell/m-p/3521449#M219989</link>
      <description>Start by verifying that no one has played around with directory permissions:&lt;BR /&gt; &lt;BR /&gt;drwxr-xr-x  21 root       root          8192 Apr  4 08:51 //&lt;BR /&gt;dr-xr-xr-x  31 bin        bin           8192 Apr  9 18:48 /etc/&lt;BR /&gt;dr-xr-xr-x  24 bin        bin           8192 Feb 28 08:09 /usr/&lt;BR /&gt; &lt;BR /&gt;Don't change these permissions.&lt;BR /&gt; &lt;BR /&gt;/bin does not exist and hasn't for more than 10 years. It is a transition link so to avoid problems in the future, it should not be used in scripts or in /etc/passwd. The shells are located in /usr/bin.&lt;BR /&gt; &lt;BR /&gt;If the above are OK, use su - username and see what happens. Also check: logins -x -l username</description>
      <pubDate>Sat, 09 Apr 2005 18:23:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell/m-p/3521449#M219989</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-04-09T18:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell/m-p/3521450#M219990</link>
      <description>the line in /etc/password should be something like:&lt;BR /&gt;&lt;BR /&gt;&lt;USER&gt;:*:35380:102:&lt;USER&gt;:/home1/c/&lt;USER&gt;:/usr/bin/ksh.&lt;BR /&gt;&lt;BR /&gt;the /usr/bin/ksh or /usr/bin/sh should be present here as this denotes which shell the user should use at login.&lt;BR /&gt;&lt;BR /&gt;if this is missing type:&lt;BR /&gt;&lt;BR /&gt;# usermod -s /usr/bin/sh &lt;USER&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;/USER&gt;&lt;/USER&gt;&lt;/USER&gt;&lt;/USER&gt;</description>
      <pubDate>Sun, 10 Apr 2005 03:54:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell/m-p/3521450#M219990</guid>
      <dc:creator>lawrenzo</dc:creator>
      <dc:date>2005-04-10T03:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell/m-p/3521451#M219991</link>
      <description>Also verufy that the shell appears as valid shell in /etc/shells file.</description>
      <pubDate>Sun, 10 Apr 2005 15:31:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell/m-p/3521451#M219991</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-04-10T15:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell/m-p/3521452#M219992</link>
      <description>Hi Luis HÃ©tor Desachy&lt;BR /&gt;&lt;BR /&gt; Can you please paste the /etc/passwd. Or See that the shell exists in the /etc/passwd file.&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;D K</description>
      <pubDate>Mon, 11 Apr 2005 00:26:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell/m-p/3521452#M219992</guid>
      <dc:creator>Deepak Kulkarni</dc:creator>
      <dc:date>2005-04-11T00:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell/m-p/3521453#M219993</link>
      <description>I just had this happen also and it was a space at the end of the p/w for the id.&lt;BR /&gt;The id had been manually entered into /etc/passwd through vi, not sam. &lt;BR /&gt;&lt;BR /&gt;The entry must end on the last letter of the shell, not one space over.</description>
      <pubDate>Mon, 11 Apr 2005 10:50:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell/m-p/3521453#M219993</guid>
      <dc:creator>Betty Fessler</dc:creator>
      <dc:date>2005-04-11T10:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell/m-p/3521454#M219994</link>
      <description>Luis,&lt;BR /&gt;&lt;BR /&gt;The preceding responses ought to have solved your problem. If you are still having problems, then&lt;BR /&gt;grep &lt;USER&gt; /etc/passwd&lt;BR /&gt;and paste / post the result here.&lt;BR /&gt;&lt;BR /&gt;Betty,&lt;BR /&gt;Repeat aloud ten times&lt;BR /&gt;"I must never vi /etc/passwd"&lt;BR /&gt;If it is not you, then go find who it is and rap them over the fingers with a 2-by-4&lt;/USER&gt;</description>
      <pubDate>Tue, 12 Apr 2005 08:57:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell/m-p/3521454#M219994</guid>
      <dc:creator>Sorrel G. Jakins</dc:creator>
      <dc:date>2005-04-12T08:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell/m-p/3521455#M219995</link>
      <description>also you can run pwck and see if there are other problems in (for instance) a previous line of the password file, that need to be fixed.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Apr 2005 09:36:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell/m-p/3521455#M219995</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2005-04-12T09:36:03Z</dc:date>
    </item>
  </channel>
</rss>

