Thanks for your advice, but when i try "chsh root" i get back: "your shell is not in /etc/shells" my "/etc/shells" contains: /bin/sh /bin/bash /bin/nologin /bin/bash2 /bin/ash /bin/tcsh /bin/csh ...and i use /bin/bash I forgot to mention, that the problem is not on my home system, its on my Webserver. Unfortunally i cant insert any CD and reboot. Any ideas whats wrong?
Hi,
Use: chsh root and you will be asked about the new root shell.
Regards, Alin.
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, Ulrich