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
01-23-2007 11:48 AM
01-23-2007 11:48 AM
HP-UX hpat577 B.11.00 U 9000/800 695389373 unlimited-user license
login: broadvis
Password:
No shell
with all users I manage happen that.
What happened, what can i do ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2007 01:53 PM
01-23-2007 01:53 PM
Re: no shell
grep ^broadvis: /etc/passwd | awk -F : '{print $NF}'
Normally, this would be /usr/bin/sh which is the POSIX shell. If this is not correct, login as root and use the command vipw to edit the /etc/passwd file. However, if all users have the same error message, someone has probably changed the critical permissions of the / and /etc directories. These must never be changed. The permission and ownership should be:
drwxr-xr-x 29 root root 8192 Oct 8 18:41 //
dr-xr-xr-x 31 bin bin 8192 Jan 23 21:38 /etc/
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2007 02:12 PM
01-23-2007 02:12 PM
Re: no shell
1. check /etc/passwd , as what shell is assigned to the user broadvis,
# cat /etc/passwd | grep broadvis
2. check that shell is there in the system and valid.
it may be caused by typo error during creation of the user and specifying a shell like /usr/sbin/vsh ,
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2007 04:47 PM
01-23-2007 04:47 PM
Re: no shell
Yesterday one of my customer has same problem.I found that somebody has
changed the permissions of the / and /etc directories. After changing permissions problem solved. So its better to check permission as per "BILL" suggestion.
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2007 05:21 PM
01-23-2007 05:21 PM
SolutionPls check the ownership of the . in your problematic system. Hope the sysmptom is other than root user no one can login.
Do the following
#ls -latr
locate the . and check the ownership.
Did you do a vxrestore any thing in the / file sytem. This is potentailly dangeorus to do a restore in the /.
Or some one might have changed the permission of a "."
It should be root:root
TQ
Perumal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2007 09:54 PM
01-24-2007 09:54 PM
Re: no shell
You might want to use swverify on the system to see what else was changed. (There is a -F option to fix.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 12:04 AM
01-25-2007 12:04 AM
Re: no shell
Make sure /usr and /usr/bin are both r-xr-xr-x.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2007 01:54 AM
02-07-2007 01:54 AM