[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SLUG] Ufs filesystem read-only in Linux




Peter Rundle <peter.rundle@nospam.altaibc.net.au>
> Why, well funny story really, somebody (not me) edited their 
> /etc/passwd file on a Sun box and changed the shell for all users 
> (including root) to /bin/bash. Unfortunately for them /bin/bash 
> is not on their system --> DOH!

everyone does that once don't they?  I did, changed /sbin/sh
to /sbin/csh when it should have been /bin/csh

> So now they cannot log into the machine. This machine has no 
> cd-drive and no floppy drive eiher. Even taking it to the OK
> prompt with "stop a" and booting single user doesn't work cause
> it asks for the root password and the supposedly correct passwd
> still doesn't let them in. oops!
> 
> So any suggestions welcome

boot off the network (boot net) or connect a cd drive and
boot off the cd.

Dave.
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text