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

Re: [suse-security] root has no shell

Ulrich Kautz wrote:

Hello All,

Ive got a big Problem. I changed the root shell to /bin/false.

There is neither a user in the sudoers nor is there any other root-user or even a user in the root group.

Is it possible to switch back the shell to /bin/bash or sh or something?

Ive tried:
sudo -- not in sudoers
su -s /bin/bash -c "command" -- "using restricted shell: /bin/false"

thanks in advance,

Boot from cdrom, mount your root partition, change /etc/passwd, and reboot again.

IT Administrator
Andrew Edunov
+7 (095) 785-42-82
+7 (095) 785-42-83
 8 (903) 610-48-76

Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-help@xxxxxxxx
Security-related bug reports go to security@xxxxxxx, not here