Public bug reported:

Binary package hint: gnome-system-tools

System: Ubuntu 8.04.1 Package: gnome-system-tools 2.22.0
I use an alternate root user with login capabilities, created with "useradd -u 
0 -o -g 0 -G 0 -m -s /bin/bash superuser", and i often login graphically with 
him. I know this is not in the Ubuntu policy, but this can be done in every 
Linux system so should be handled correctly. I made some experiments and saw 
that if in the /etc/passwd my superuser comes before the root user, users-admin 
doesn't recognize him as root. I found out that in users/users-settings.c 
function is_user_root uses login = oobs_user_get_login_name (user) and strcmp 
(login, "root") == 0. I think this should be corrected with something like uid 
= oobs_user_get_uid(user) and uid == 0. Because any user with uid = 0 has root 
privileges and should be treated as root whatever his name is. Thanks for your 
attention. Best regards.

** Affects: gnome-system-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
in users-admin the name 'root' is checked instead of uid 0
https://bugs.launchpad.net/bugs/255980
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to