Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to use sudo not root

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
jsmidt
Posts: 33
Joined: 2005-11-20 05:37
Location: Provo, UT

How to use sudo not root

#1 Post by jsmidt »

When I installed Debian I selected to not allow root login thinking that
would enable sudo and disable root. But when I logged into gnome it
kept asking for the root password to do admin things, so I set a root
password and it works.
However, I would like to disable root and have it so my sudo password
works for all the gnome admin things, like opening synaptic. How do I
do that? Thanks.
Joseph Smidt
Joseph Smidt

Everybody should contribute to so beautiful of a cause as the Debian Project.

User avatar
osmo
Posts: 55
Joined: 2006-03-15 14:40
Location: Finland

#2 Post by osmo »

Quoting myself from the sudo thread:
osmo wrote:If you're using GNOME, you'll also need to change /apps/gksu/sudo-mode key to true using the GConf editor. That way all the GNOME administration stuff will accept your user password instead of the root password.

Code: Select all

$ gconftool-2 -t bool -s /apps/gksu/sudo-mode 1

Post Reply