|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (6 bit)
Join Date: Apr 2000
Location: Oak Park, MI
Posts: 33
|
I attempted to change the shell for root on my SPARC-20 by editing /etc/passwd. I changed it to /sbin/csh instead of /bin/csh and now cannot login as root because of the invalid shell. I have booted from my Solaris CD in single-user mode and am attempting to mount /dev/rdsk/c0t3d0s0 (the location of the filesystem containing /etc/passwd) on /tmp/root. I get a message
"mount:/dev/rdsk/c0t3d0s0 is already mounted,tmp root is busy, or the allowable number of mount points has been exceeded." Are these the correct steps or am I missing something? |
|
|
|
|
|
#2 |
|
Member (10 bit)
Join Date: Apr 1999
Location: Maryland, USA
Posts: 775
|
Sorry if you've already tried this, but do you have 'su' installed? If so, log in as a regular user and su to superuser and make the shell changes.
|
|
|
|
|
|
#3 |
|
Member (6 bit)
Join Date: Apr 2000
Location: Oak Park, MI
Posts: 33
|
I was able to mount /dev/dsk/c0t0d0s0 on /mnt and vi /etc/passwd. All is well!
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|