[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [suse-security] root has no shell
here would be a workaround:
mv /bin/false /bin/false.TEMP
ln -s /bin/bash /bin/false
echo "/bin/false" >> /etc/shells
login as root
set it to /bin/bash
mv /bin/false.TEMP /bin/false
Ulrich Kautz wrote:
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?
sudo -- not in sudoers
su -s /bin/bash -c "command" -- "using restricted shell: /bin/false"
thanks in advance,
Technical Support Engineer - RAV Division
This message is confidential. It may also be privileged or otherwise
protected by work product immunity or other legal rules. If you have
received it by mistake please let us know by reply and then delete it
from your system; you should not copy the message or disclose its
contents to anyone.
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