Mailinglist Archive: opensuse-security (334 mails)

< Previous Next >
Re: [suse-security] Yast2 deletes root
  • From: "Stefan Waidele jun." <Stefan@xxxxxxxxxxx>
  • Date: Mon, 22 Sep 2003 10:46:52 +0200
  • Message-id: <3F6EB6FC.7010501@xxxxxxxxxxx>
Thomas Götz wrote:

Verified on 2 Systems SuSE 8.2

Yast Verion:
yast2-users-2.7.20-15

Problem:
For some reason there are 2 root users on a system, e.g.
root
emergency

If one creates a new user with Yast 2, root will be deleted.

Solution:

No real solution to the yast2-behavior, but (maybe) a solution to your problem:

Create 'emergency' as regular user, and allow him to sudo everything. Set its home to somewhere on the /-partition.
So in an emergency, 'emergency' can log in and work. If the emergency is not too big, (s)he can 'sudo su -' and become 'root'. If that does not work, (s)he has to sudo every command issued.

(sudo resides in /usr/bin and needs /etc/sudoers so you want to make sure that these are also on the /-partition, in case you cannot mount other partitions)

There has been quite some discussion about the necessity of 2 different root users on other lists. It usually degenerates into flamewars, so let's not start getting into it... :)

HTH,

Stefan




< Previous Next >
References