- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: No shell
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
10-27-2000 01:34 AM
10-27-2000 01:34 AM
My system suddenly unable to login as a normal user with a "no shell" message.
Appreciate any help.
YC
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2000 01:37 AM
10-27-2000 01:37 AM
Re: No shell
May be the user used the /usr/bin/chsh SUID command to change the shell badly.
Antonio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2000 01:38 AM
10-27-2000 01:38 AM
SolutionCauses of 'no shell':
1. A corrupted entry in /etc/passwd for the user receiving the error.
2. Too restrictive $HOME directory permissions -- the directory into which they login must be 75x. If this is OK, check backwards to the root directory which should be 755.
3. The shell not defined in /etc/shells.
4. Improper permissions on the shell executable itself.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2000 01:38 AM
10-27-2000 01:38 AM
Re: No shell
May be the user used the /usr/bin/chsh SUID command to change the shell badly.
Antonio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2000 01:38 AM
10-27-2000 01:38 AM
Re: No shell
Look at the shell permissions (555)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2000 09:45 AM
10-27-2000 09:45 AM
Re: No shell
Hi Leong!
If no users except the root user can log in, check their access on the shell or on the directories. The files/directories, permissions, owner/group, and chmod parameter are the following:
File/directory Correct Access Correct owner/group Chmod parameters
/bin/sh -r-xr-xr-t bin/bin 4555
/ drwxr-xr-x root/root 755
/bin drwxr-xr-x root/other 755
user home dir. rwx for user user's login name 7xx
The user's home directory only needs rwx for the user. Group and access permissions are not relevant.
If certain users cannot log in, /etc/passwd may be corrupted or the entry in /etc/passwd may be incorrect.
If you log in under the C shell or the Korn shell, the shell file will be /bin/csh or /bin/ksh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2000 11:47 AM
10-27-2000 11:47 AM