- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: no shell and bus error when su'ing
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
Forums
Discussions
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
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-09-2002 05:29 AM
01-09-2002 05:29 AM
I have a new system and have created new IDs through SAM, but when I try to login as any of these users, I get the following error:
su: no shell
Bus error
I've checked everything in the passwd file and am at a loss.
Any help would be appreciated.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 05:36 AM
01-09-2002 05:36 AM
Re: no shell and bus error when su'ing
Seems like you have a corrupted /usr/sbin/login. Replace this file from a working system and try.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 05:39 AM
01-09-2002 05:39 AM
Re: no shell and bus error when su'ing
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5cb13fa720f3d5118ff40090279cd0f9,00.html
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 05:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 05:48 AM
01-09-2002 05:48 AM
Re: no shell and bus error when su'ing
O/S , patch level , root affected -no i suspect , what is the shell they are trying to use etc ....
SOME POSSIBLE SOLUTIONS etc :
check:
1.ll -d /bin
lr-xr-xr-t 1 root sys 8 Apr 2 18:12
/bin ->/usr/bin
ll -d /usr/bin
dr-xr-xr-x 6 bin bin 10240 Apr 30 08:22
/usr/bin
ll -d /usrdr-xr-xr-x 24 bin bin 1024 May 10 09:58 /usr
ll -d / drwxr-xr-x 46 root root 144 May 12 11:39
/ll /bin/sh
-r-xr-xr-x 2 bin bin 217088 Jan 11 04:16 /bin/sh
ll /etc/passwd
-rw-r--r-- 1 root root 3517 May 11 10:23 /etc/passwd
ll /usr/bin/ksh
-r-xr-xr-x 2 bin bin 151552 Nov 7 1997 /usr/bin/ksh
ll /usr/bin/csh
-r-xr-xr-x 1 bin bin 155648 Aug 10 1998 /usr/bin/csh
ll /usr/lib/libc.1
-r-xr-xr-x 1 bin bin 1863680 Nov 18 19:55 /usr/lib/libc.1
2./etc/passwd:move user nobody behind root
3.The problem occurs when there are +:: entries in /etc/passwd
and /etc/group related to NIS (when NIS is not running). This
was causing the su command to have a bus error.
The workaround is to remove the entry: +::from /etc/passwd and /etc/group.
4.prolem with su revisions 82.15.1.1 and 82.15. It occurs when the login shell is not an executable or is not found at
all.
5 in case of using NIS:
a.You are getting the 'no shell' error because there are extra spaces
after the NIS entry in the /etc/passwd file: +::-2:-2:::
You can perform the following steps to identify the extra spaces:
1. vi /etc/passwd
2. A. Enter the 'set list' command at the colon prompt inside of vi.
Note: This command inserts a dollar ( $ ) sign at the end of
every line to indicate the end of a line.
B. Notice the position of the $ on the NIS line:
+::-2:-2::: $
The dollar sign should be immediately after the last ':'.
Remove the extra spaces at the end of the NIS entry to resolve your error
.b.[PHCO_15232/PACHRDME/English] or later is installed su(1) cumulative patch but this depend on your O/S the above is for 11.00.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 06:20 AM
01-09-2002 06:20 AM