<?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.  ERROR in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501047#M20897</link>
    <description>I second what Bill has to day, and will give a couple of additional notes about apps which create their own users.&lt;BR /&gt;&lt;BR /&gt;CATIA is a prime example where if you create users, their default shell is set to /bin/ksh.  This model fits fine on an IBM running AIX and Solaris, but does not work on HP-UX or Irix.&lt;BR /&gt;&lt;BR /&gt;CGS, PDGS and many other apps which create user ID's for you can cause these problems.  While they understand the basic name:pass:uid:gid..blah.blah.. they do not usually check to see if the shells are really there, nor give you the option to change the shell.&lt;BR /&gt;&lt;BR /&gt;Make sure that all users except root (who has a shell of "/sbin/sh") have shells of "/usr/bin/ksh", "/usr/bin/csh", "/usr/bin/rsh", "/usr/bin/sh" if they need to login to the box.  FTP users and mail users not needing a shell should have a shell of "/usr/bin/false". &lt;BR /&gt;It helps too to update "/etc/shells" and put the entries in it that your site is using.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
    <pubDate>Mon, 12 Mar 2001 15:34:38 GMT</pubDate>
    <dc:creator>Shannon Petry</dc:creator>
    <dc:date>2001-03-12T15:34:38Z</dc:date>
    <item>
      <title>No Shell.  ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501039#M20889</link>
      <description>hi to everybody,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   I am having hp-ux10.x , when I am trying to login as other than root, Getting Error &lt;BR /&gt;No shell.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;pl help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Mar 2001 16:39:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501039#M20889</guid>
      <dc:creator>ashwin</dc:creator>
      <dc:date>2001-03-05T16:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: No Shell.  ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501040#M20890</link>
      <description>When trying to login to my system as a normal user, I receive the&lt;BR /&gt;following error message:&lt;BR /&gt;&lt;BR /&gt;    No Shell&lt;BR /&gt;&lt;BR /&gt;If I login as a root user, this message is not displayed. Why ?&lt;BR /&gt;&lt;BR /&gt;Solution&lt;BR /&gt;&lt;BR /&gt;This error indicates that exec failed from login. The most likely&lt;BR /&gt;causes are:&lt;BR /&gt;&lt;BR /&gt;     A.  Missing or corrupted /etc/passwd file&lt;BR /&gt;&lt;BR /&gt; or&lt;BR /&gt;&lt;BR /&gt;     B.  Permissions wrong on the shell, directories or file&lt;BR /&gt;&lt;BR /&gt;The following table shows correct permissions for the shell,&lt;BR /&gt;the directories involved with login, and the passwd file:&lt;BR /&gt;&lt;BR /&gt;     File or Directory     Correct Access&lt;BR /&gt;&lt;BR /&gt;         /bin/sh             -r-xr-xr-t&lt;BR /&gt;         /                   drwxr-xr-x&lt;BR /&gt;         /bin                drwxr-xr-x&lt;BR /&gt;         /etc/passwd         -r--r--r--&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Mar 2001 16:46:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501040#M20890</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2001-03-05T16:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: No Shell.  ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501041#M20891</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;look in /etc/passwd at the line of the user for the last column - this is the login shell and check if this exists at the system.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Mon, 05 Mar 2001 16:47:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501041#M20891</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2001-03-05T16:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: No Shell.  ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501042#M20892</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Check the seventh field (colon-delimited) of /etc/passwd for the user (first field) in question.  You should have a valid shell or program specified.  For the POSIX shell (the default) you should have:&lt;BR /&gt;&lt;BR /&gt;/usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;The error you report generally means that no shell (or startup program) has been specified.&lt;BR /&gt;&lt;BR /&gt;Make sure that the ownership of the shell is "bin:bin" and that the permissions are "-r-x-r-x-r-x".&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 05 Mar 2001 16:50:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501042#M20892</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-03-05T16:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: No Shell.  ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501043#M20893</link>
      <description>I had this problem once and it was caused by incorrect permissions on / as Alex mentioned.&lt;BR /&gt;ls -ld / should also show root sys ownership.</description>
      <pubDate>Wed, 07 Mar 2001 15:51:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501043#M20893</guid>
      <dc:creator>John Sisak</dc:creator>
      <dc:date>2001-03-07T15:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: No Shell.  ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501044#M20894</link>
      <description>Ashwin,&lt;BR /&gt;&lt;BR /&gt;Has the system booted properly last reboot? it could be the /usr filesystem isn't mounted. Check with bdf if all filesystems are mounted and if not check /var/adm/syslog/syslog.log for error messages during boot. Otherwise the shell might be missing, root uses the /sbin/sh whereas other users usually use one of the shells in /usr/bin/&lt;BR /&gt;&lt;BR /&gt;Regards, Danny</description>
      <pubDate>Wed, 07 Mar 2001 16:12:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501044#M20894</guid>
      <dc:creator>Danny Engelbarts</dc:creator>
      <dc:date>2001-03-07T16:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: No Shell.  ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501045#M20895</link>
      <description>Hi ashwin,&lt;BR /&gt;&lt;BR /&gt;root uses /sbin/sh, try changing one of your other users in the /etc/passwd file to /bin/sh and see if it works, you make not have the other shells available for some reason (corruption, wrong path, accidents etc.)</description>
      <pubDate>Thu, 08 Mar 2001 18:12:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501045#M20895</guid>
      <dc:creator>Jeffrey S. Sims</dc:creator>
      <dc:date>2001-03-08T18:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: No Shell.  ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501046#M20896</link>
      <description>Just a note about /bin/sh...there isn't a directory with this name (hasn't been for almost 8 years).  /bin on 10.x and 11.x systems is either missing completely (as defined by the SysV.4 standard) or is actually a symbolic link.  Try this:&lt;BR /&gt;&lt;BR /&gt;ll -d /bin&lt;BR /&gt;&lt;BR /&gt;The correct directory is /usr/bin.  Every script and reference concerning /bin paths should be updated to /usr/bin. If the symbolic link is removed (man tlremove) then anything with a /bin (and /lib and a *LOT* more) will fail. It's been a long time since the directory and filename change(s) were implemented.</description>
      <pubDate>Fri, 09 Mar 2001 04:08:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501046#M20896</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-03-09T04:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: No Shell.  ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501047#M20897</link>
      <description>I second what Bill has to day, and will give a couple of additional notes about apps which create their own users.&lt;BR /&gt;&lt;BR /&gt;CATIA is a prime example where if you create users, their default shell is set to /bin/ksh.  This model fits fine on an IBM running AIX and Solaris, but does not work on HP-UX or Irix.&lt;BR /&gt;&lt;BR /&gt;CGS, PDGS and many other apps which create user ID's for you can cause these problems.  While they understand the basic name:pass:uid:gid..blah.blah.. they do not usually check to see if the shells are really there, nor give you the option to change the shell.&lt;BR /&gt;&lt;BR /&gt;Make sure that all users except root (who has a shell of "/sbin/sh") have shells of "/usr/bin/ksh", "/usr/bin/csh", "/usr/bin/rsh", "/usr/bin/sh" if they need to login to the box.  FTP users and mail users not needing a shell should have a shell of "/usr/bin/false". &lt;BR /&gt;It helps too to update "/etc/shells" and put the entries in it that your site is using.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Mon, 12 Mar 2001 15:34:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501047#M20897</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2001-03-12T15:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: No Shell.  ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501048#M20898</link>
      <description>Hi, you can chek if in the last letter of the line you have the end or a blank space, if you have a blank space, yo dont have a shell /sbin/sh_ (where _ means a blank space) I had the same problem a long time ago, here?s an example of a passwd file&lt;BR /&gt;&lt;BR /&gt;root:5StR.vARQsoIY:0:3::/:/sbin/sh&lt;BR /&gt;daemon:*:1:5::/:/sbin/sh&lt;BR /&gt;bin:*:2:2::/usr/bin:/sbin/sh&lt;BR /&gt;sys:*:3:3::/:&lt;BR /&gt;adm:*:4:4::/var/adm:/sbin/sh&lt;BR /&gt;uucp:*:5:3::/var/spool/uucppublic:/usr/lbin/uucp/uucico&lt;BR /&gt;lp:*:9:7::/var/spool/lp:/sbin/sh&lt;BR /&gt;nuucp:*:11:11::/var/spool/uucppublic:/usr/lbin/uucp/uucico&lt;BR /&gt;hpdb:*:27:1:ALLBASE:/:/sbin/sh&lt;BR /&gt;nobody:*:-2:-24::/:&lt;BR /&gt;catadm:ihXmBjK719E1M:301:301::/home/catadm:/bin/ksh&lt;BR /&gt;catusr:TgiCsf7/deSaY:302:301::/home/catusr:/bin/ksh&lt;BR /&gt;tftp:*:510:1:Trivial FTP user:/home/tftpdir:/usr/bin/false&lt;BR /&gt;imagen:,..:345:301::/ftp/catia/imagen:/usr/bin/ksh&lt;BR /&gt;iadrian::1477:301:Prof. Ignacio Adrian Romero:/home/hpmec/mc0/iadrian:/usr/bin&lt;BR /&gt;al499903:aLi9r2h.jsdRI:18550:301:Ulises Bastida Torres - TME98:/home/hpmec/al3/um0/al499903:/usr/bin/ksh&lt;BR /&gt;al448021:IOSPxJTkbtU0g:31562:301:Villegas Morales Jose Angel:/home/hpmec/al1/um2/al448021:/usr/bin/ksh&lt;BR /&gt;al454574:WtFXmtZ29cVRU:11550:301:Jonathan Josue Colin Gonzalez - PBL95:/home/hpmec/al4/um7/al454574:/usr/bin/ksh&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Mar 2001 22:52:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501048#M20898</guid>
      <dc:creator>Guillermo Castillo</dc:creator>
      <dc:date>2001-03-26T22:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: No Shell.  ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501049#M20899</link>
      <description>Edit /etc/passwd and verify the full path shell (es. /usr/bin/ksh).&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Mar 2001 14:53:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501049#M20899</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-03-27T14:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: No Shell.  ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501050#M20900</link>
      <description>&lt;BR /&gt;If you setup another user with membership to group root, login as that user and issue the command:&lt;BR /&gt;'newgrp root' then execute SAM and change the shell for root to /sbin/sh.  This should put things back to an operable state.</description>
      <pubDate>Fri, 23 Aug 2002 22:50:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-error/m-p/2501050#M20900</guid>
      <dc:creator>Ron D.</dc:creator>
      <dc:date>2002-08-23T22:50:55Z</dc:date>
    </item>
  </channel>
</rss>

