login

Michael O'Donnell mod at std.com
Tue Jan 26 22:23:14 EST 1999



>> 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).



More information about the Discuss mailing list