Mailinglist Archive: opensuse-security (211 mails)
| < Previous | Next > |
Re: [suse-security] root has no shell
- From: Andrew Edunov <and@xxxxxx>
- Date: Wed, 08 Oct 2003 17:58:12 +0400
- Message-id: <3F8417F4.4060602@xxxxxx>
Ulrich Kautz wrote:
--
IT Administrator
Andrew Edunov
and@xxxxxx
+7 (095) 785-42-82
+7 (095) 785-42-83
8 (903) 610-48-76
Hello All,Boot from cdrom, mount your root partition, change /etc/passwd, and reboot again.
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
--
IT Administrator
Andrew Edunov
and@xxxxxx
+7 (095) 785-42-82
+7 (095) 785-42-83
8 (903) 610-48-76
| < Previous | Next > |