Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

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

gksu itself won't regard sudoers file.

share|improve this answer
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

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

share|improve this answer
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 posting your answer, you agree to the privacy policy and terms of service.

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