From: dpatel10 patel (dpatel10@comcast.net)
Date: Sun Sep 21 2003 - 12:32:01 EDT
Hi,
The bash binary on on my solaris box is located in /bin/bash. On my solaris8
the path is set to /usr/local/bin/bash for user "root". Hardware is Ultra-2.
When I try to su as root it gives me an error "No Shell".
The following line is my passwd
entry:
R&D$ cat /etc/passwd
root:x:0:1:Super-User:/root:/usr/local/bin/bash
Many kind men suggest me to use the following command
to get a shell and then modify /etc/passwd:
R&D$ su - root -c /bin/sh
Password:
su: No shell
R&D$
It seems not work.
Dp
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:09 EDT