Go Back   PCMech Forums > Linux Support > Linux OS and Software Assistance

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 02-23-2001, 06:07 PM   #1
Member (6 bit)
 
Join Date: Apr 2000
Location: Oak Park, MI
Posts: 33
Question

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?
TDub is offline   Reply With Quote
Old 02-24-2001, 11:47 AM   #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.
Dave22 is offline   Reply With Quote
Old 02-24-2001, 01:00 PM   #3
Member (6 bit)
 
Join Date: Apr 2000
Location: Oak Park, MI
Posts: 33
Smile

I was able to mount /dev/dsk/c0t0d0s0 on /mnt and vi /etc/passwd. All is well!
TDub is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:01 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2