Yast2 deletes root
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: ? This error was discovered first in July 2003 Best Regards Thomas Götz
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: ?
Is uid-sorting of passwd enabled (/etc/sysconfig/suseconfig->SORT_PASSWD_BY_UID)? Maybe switch this off. -- Andreas
No, it isn't enabled. Regards Thomas Andreas Winkelmann schrieb:
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: ?
Is uid-sorting of passwd enabled (/etc/sysconfig/suseconfig->SORT_PASSWD_BY_UID)?
Maybe switch this off.
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
participants (3)
-
Andreas Winkelmann
-
Stefan Waidele jun.
-
Thomas Götz