4

In Debian-derived Linux distros, if you are not root but are authorized in /etc/sudoers, GNOME will ask you for your own password to allow privileged operations.

However, Scientific Linux asks you for the real root password, even if you can do the same action with sudo. A Google search suggests this is true for all Red Hat or Fedora-derived distros, but the suggested solutions are all very old, complex, or not very complete.

How should I configure GNOME, gksu, kernel PAM, polkit/PolicyKit, or what-have-you to let me use sudo properly within the GNOME GUI?

2

Install and use gksudo instead, that's like a front-end of sudo.

gksu itself won't regard sudoers file.

  • There's no gksudo packaged for Fedora/RHEL/Centos/etc. This is just going to lead the OP into building/installing from source, something I'd advise against for security software. – jsbillings Dec 21 '14 at 5:21
0

always use visudo to edit /etc/sudoers. You must also specify what commands you want your privileged to be able to run

user All = (ALL) ALL

You should be prompted for your own password

  • This is correct information but does not actually answer the question that's being asked. – Shadur Jul 24 '14 at 11:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.