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

Reply via email to