Wednesday, May 8, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 3696  / 2 Years ago, sat, august 27, 2022, 7:27:49

This seems odd to me. I can't install software using the "friendly" GUI tool unless I input the root password but by default, my Ubuntu 12.04 has root disabled with no password set.



Why doesn't Software Centre use a SUDO credential? Perhaps using gksudo?


More From » 12.04

 Answers
5

This happens (at least on 14.04 which I've just tested on) when there are no users in the "sudo" group.



It doesn't matter if your user is explicitly listed in the /etc/sudoers file or not as to this behaviour -- it looks for members of the sudo group and requests a password for one of those users. If there are no members in that group then it requests the root password, which may not be enabled at all.



Edit: This is probably because the sudoers file is unreadable by normal users, but the list of members in the sudo group *is* possible to access.


[#37232] Monday, August 29, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
laceanz

Total Points: 86
Total Questions: 113
Total Answers: 104

Location: Australia
Member since Thu, Jan 26, 2023
1 Year ago
;