Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 07:13 AM
02-11-2003 07:13 AM
I need you help, please.
I work with HP-UX 10.20, now any users can connect, the message "No shell" appears in all displays.
The files exist:
-r-xr-xr-x 2 bin bin 159744 Sep 3 1998 /usr/bin/ksh
-r-xr-xr-x 2 bin bin 499712 Oct 20 1998 /usr/bin/sh
-r-xr-xr-x 1 bin bin 155648 Dec 9 1998 /usr/bin/csh
-r-xr-xr-x 2 bin bin 159744 Sep 3 1998 /bin/ksh
thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 07:14 AM
02-11-2003 07:14 AM
Re: No shell
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 07:17 AM
02-11-2003 07:17 AM
Re: No shell
Make sure that the '/usr' and '/usr/bin' directories allow read and execute permissions for everyone.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 07:18 AM
02-11-2003 07:18 AM
Re: No shell
/usr/bin/ksh
/usr/bin/sh
/usr/bin/csh
/bin/ksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 07:19 AM
02-11-2003 07:19 AM
Re: No shell
Also check if the specified shell exists in /etc/shells
-Tomek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 07:21 AM
02-11-2003 07:21 AM
Re: No shell
# ll -d /usr
drwxr-xr-x 26 bin bin 2048 Sep 27 20:04 /usr
# ll -d /usr/sbin
dr-xr-xr-x 9 root sys 6144 Aug 26 09:12 /usr/sbin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 07:21 AM
02-11-2003 07:21 AM
Solution-r-sr-xr-x 1 root bin /bin/login (note the 's' bit)
-r-xr-xr-x 2 bin bin /bin/rsh
-r-xr-xr-x 2 bin bin /bin/sh
-r--r--r-- 1 root sys /etc/passwd
drwxr-xr-x 22 root root /
And make sure that the user has a valid shell in /etc/passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 07:24 AM
02-11-2003 07:24 AM
Re: No shell
If the /etc/passwd does not have a proper shell, they will not be allowd to login. Normally I set the shell to /bin/$SHELL
where $SHELL is csh, ksh, or sh.
If root can not login or the system can not boot with the shell error, then check root's shell and ensure that /bin/sh is there and valid.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 07:27 AM
02-11-2003 07:27 AM
Re: No shell
/sbin/sh
and not
/bin/sh
/Jannik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 07:42 AM
02-11-2003 07:42 AM
Re: No shell
750.