On 15/06/06, Joseph Smidt <[EMAIL PROTECTED]> wrote:
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
I think you should login as root and run the commands:
usermod -G $USER $GROUPS,adm
visudo
# Members of the admin group may gain root privileges
%adm ALL=(ALL) ALL
And then delete the password from root from your /etc/passwd and
/etc/shadow files
=second field
--------------------------------------------------------------------------------
Joseph Smidt
[EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]