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
04-09-2005 09:08 AM
04-09-2005 09:08 AM
I've a user in hpux 11.i and when she/he try to access the message appears.
"no shell"
"Connection closed by foreign host"
I verified the permission in /etc/passwd /etc/group /usr/bin/sh /bin/sh, etc.
what append.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2005 11:23 AM
04-09-2005 11:23 AM
Solutiondrwxr-xr-x 21 root root 8192 Apr 4 08:51 //
dr-xr-xr-x 31 bin bin 8192 Apr 9 18:48 /etc/
dr-xr-xr-x 24 bin bin 8192 Feb 28 08:09 /usr/
Don't change these permissions.
/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.
If the above are OK, use su - username and see what happens. Also check: logins -x -l username
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2005 08:54 PM
04-09-2005 08:54 PM
Re: No shell
the /usr/bin/ksh or /usr/bin/sh should be present here as this denotes which shell the user should use at login.
if this is missing type:
# usermod -s /usr/bin/sh
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2005 08:31 AM
04-10-2005 08:31 AM
Re: No shell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2005 05:26 PM
04-10-2005 05:26 PM
Re: No shell
Can you please paste the /etc/passwd. Or See that the shell exists in the /etc/passwd file.
Thanks
D K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 03:50 AM
04-11-2005 03:50 AM
Re: No shell
The id had been manually entered into /etc/passwd through vi, not sam.
The entry must end on the last letter of the shell, not one space over.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2005 01:57 AM
04-12-2005 01:57 AM
Re: No shell
The preceding responses ought to have solved your problem. If you are still having problems, then
grep
and paste / post the result here.
Betty,
Repeat aloud ten times
"I must never vi /etc/passwd"
If it is not you, then go find who it is and rap them over the fingers with a 2-by-4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2005 02:36 AM
04-12-2005 02:36 AM