hi,

of course you have problems since all the commands
suggested require that you log in first ( but you can't ! ).

the only way is to boot on a minimal linux on floppy
( for instance : http://boot.everywhere.dk/ ),
mount the root partition and modify the
/etc/passwd file.

suerte,
sevy

Ales Zemene wrote:
i have the some problem on one pc, but if i do:
su -c "chsh -s /bin/bash/"

i get :
Password :
No shell

rebooting does not help

A.Z.

On Thu, 29 Jan 2004, Frank Barknecht wrote:
Hallo,
Zachris Trolin hat gesagt: // Zachris Trolin wrote:

ons 2004-01-28 klockan 14.59 skrev marius schebella:

also i have stupidly locked myself out my root account by:
chsh -s /sbin/nologin
i thought this would bypass the login procedure - whoops!
how can i get my root account back?
this is my real problem at the moment
thanks,
rob
I guess you could login as an ordinary user and then use su - this is
probably the easy and best way,
Maybe this will help:

$ su -c "chsh -s /bin/bash/"

ciao


++++++++++++++++++++++++
+ Ales Zemene +
+ http://ales.mur.at +
+ GSM +436769573397 +
+ ICQ 215971050 +
++++++++++++++++++++++++

_______________________________________________
PD-list mailing list
PD-list@iem.at
http://iem.at/cgi-bin/mailman/listinfo/pd-list