Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

login




>> It turns out that I should have been in the C-shell.  I went
>> to change my shell from /bin/bash to /bin/csh and I typed
>> /bin/chs and hit return.  Now I am unable to login as root.
>> Any suggestions ?  Thanks, Bob
>
>I haven't tried Slackware in several years, so I can't give
>any Slackware- specific advice.  Basically you want to boot
>into a ramdisk, get to a shell, and mount the hard drive
>partition that contains your root filesystem as /mnt, then
>edit /mnt/etc/passwd .


Alernatively, it may be possible to ftp into the system as root
(no shell required) and ftp a copy of the scrogged /etc/passwd
out to some other system where you can correct it.  Then update
the scrogged version (again using ftp) and you might be OK.
Another approach might be to copy /bin/csh to /bin/chs using
the same FTP trick, though I'm not sure you can convince FTP
to correctly set the execute permissions in that case...

Regards,
 -----------------
 Michael O'Donnell
 -----------------

***
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org