Looks to me that it is the time to init 1
then edit /etc/passwd

Good luck!


Francisco


>>> [EMAIL PROTECTED] 16/05/02 12:31 >>>

Tried that but i can't get around the privileges.
not allowed to edit /etc/passwd.

can't add another user with proper rights either.

 

-----Ursprungligt meddelande-----
Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Skickat: den 16 maj 2002 19:30
Till: [EMAIL PROTECTED] 
Ämne: RE: root privileges gone!!


edit /etc/passwd and change it there

-----Original Message-----
From: Johansson Henrik (Svensk Börsinformation)
[mailto:[EMAIL PROTECTED]] 
Sent: Thursday, May 16, 2002 12:26 PM
To: '[EMAIL PROTECTED]' 
Subject: root privileges gone!!



I managed to (don't ask how) set the root login shell to /bin/bash
and now I can't change it!!

I tried "su -s /bin/sh" but it didn't work. I think it was because
/bin/false is not in /etc/shells.

Anybody knows how to fix this? Preferably whithout restarting
the machine.

 - Henrik



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED] 
https://listman.redhat.com/mailman/listinfo/redhat-list 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED] 
https://listman.redhat.com/mailman/listinfo/redhat-list 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED] 
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to