[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [suse-security] root has no shell
Thanks for your advice, but when i try "chsh root" i get back:
"your shell is not in /etc/shells"
my "/etc/shells" contains:
...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?
> chsh root
> and you will be asked about the new root 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,
> > Ulrich
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