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
09-15-2000 10:14 AM
09-15-2000 10:14 AM
No shell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2000 10:16 AM
09-15-2000 10:16 AM
Re: No shell
Make sure the shell you are trying to use is declared in /etc/shells (r-r-r and owned by root).
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2000 10:19 AM
09-15-2000 10:19 AM
Re: No shell
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2000 10:29 AM
09-15-2000 10:29 AM
Re: No shell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2000 10:32 AM
09-15-2000 10:32 AM
Re: No shell
Other causes for "no shell" are:
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.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2000 10:54 AM
09-15-2000 10:54 AM
Re: No shell
This happens only to root and not to any other user. All users are able to login perfectly without any problems. I have already checked on the passwd files by comparing the corrupted on and a non corrupted one(backups of password files are kept) I could not find any corruption.
Thanks
Regards
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2000 11:28 AM
09-15-2000 11:28 AM
Re: No shell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2000 11:34 AM
09-15-2000 11:34 AM
Re: No shell
It is /sbin/sh.
Regards
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2000 11:39 AM
09-15-2000 11:39 AM
Re: No shell
Also note that the permissions on an ftp'ed file by default allows other users to modify it... so an ordinary user can modify the passwd file - you do not want that to happen.
so I would say copy a new version of the passwd file over, make sure that you have permissions of r--r--r-- (ie. chmod 444 /etc/passwd)
mind you, what you have on backups may also have had a problem...
good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2000 11:40 AM
09-15-2000 11:40 AM
Re: No shell
Check, also that the permissions on /sbin & /usr & /usr/bin are 755.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2000 12:30 PM
09-15-2000 12:30 PM
Re: No shell
Thanks For ur replies. Checked out and the permissions look fine on all the directories and file. With regard to changes by users this has happened on multiple boxes in the last few days and on systems which have been running for a year. The users are different on these boxes.
I would like any of your inputs on how an sh in one of the application cron jobs would affect the shell or this particular problem. One of the apps pukes recently added a cron job to these boxes and this is the only change.
Regards
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2000 06:25 PM
09-17-2000 06:25 PM
Re: No shell
Jay here looking over the same issues. Another thing that has changed is our use of netvackup from Veritas. Explore this avenue and maybe someone has seen this problem before.
cheers,
Jay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2000 08:58 AM
09-20-2000 08:58 AM