- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: help: 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
Discussions
Discussions
Forums
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
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
тАО08-02-2005 08:11 PM
тАО08-02-2005 08:11 PM
other user can not whith : no shell.
when i su - zxw
su : no shell
su - bin
su:no shell
my /etc/passwd:
root:KctJ5Q8JQJywM:0:3::/:/sbin/sh
bin:*:2:2::/usr/bin:/sbin/sh
daemon:*:1:5::/:/sbin/sh
sys:*:3:3::/:
adm:*:4:4::/var/adm:/sbin/sh
uucp:*:5:3::/var/spool/uucppublic:/usr/lbin/uucp/uucico
lp:*:9:7::/var/spool/lp:/sbin/sh
nuucp:*:11:11::/var/spool/uucppublic:/usr/lbin/uucp/uucico
hpdb:*:27:1:ALLBASE:/:/sbin/sh
nobody:*:-2:-2::/:
www:*:30:1::/:
zxw:0k0t/OGyUkFvU:103:20:user:/home/zj:/sbin/sh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2005 08:29 PM
тАО08-02-2005 08:29 PM
Re: help: no shell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2005 08:39 PM
тАО08-02-2005 08:39 PM
Re: help: no shell
# ls -al sh
-r-xr-xr-x 1 bin bin 1213444 Sep 4 2003 sh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2005 08:51 PM
тАО08-02-2005 08:51 PM
Re: help: no shell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2005 08:57 PM
тАО08-02-2005 08:57 PM
Re: help: no shell
Did you check if it works with other shells (like ksh)?
Is the system running BASE security?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2005 09:00 PM
тАО08-02-2005 09:00 PM
SolutionTake a look at this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=875412&admit=-682735245+1123059533248+28353475
Regards,
Kasper
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2005 09:03 PM
тАО08-02-2005 09:03 PM
Re: help: no shell
Does these lines (in passwd file) have extra space(s) at the end of the line. If so, remove them. You should be fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2005 01:14 AM
тАО08-03-2005 01:14 AM
Re: help: no shell
with
grep zxw /etc/passwd | od -x
you can check for illegal characters.
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2005 01:15 AM
тАО08-03-2005 01:15 AM
Re: help: no shell
Always use usermod to change user parameters to avoid non prontable characters on the file that may cause the problem, but if pwck does not reports problems, this should be not your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2005 12:49 PM
тАО08-03-2005 12:49 PM
Re: help: no shell
When use chmod 755 /
All problem has been resolved.
thanks