Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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 run programs 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, and not very complete.

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

share|improve this question
add comment

2 Answers

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

gksu itself won't regard sudoers file.

share|improve this answer
add comment

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
add comment

Your Answer

 
discard

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.