wally80
August 8th, 2008, 05:13 PM
Hi all!
I am a slackware user recently jumped into xubuntu.
I would have a question regarding the root account and the sudo management.
I've read (and understood) the document help.ubuntu.com/community/RootSudo regarding the fact that a user can administer the system without requiring to know the root password.
Now I have a problem:
I share a user with my girlfriend. I don't want to create different users for other reasons, but I would like that when I "administrate" the system it asks me for the root password and not for the user password.
I accomplished it by putting the option "rootpw" into etc/sudoerc.
Everytime I type a sudo, it asks me for the root password.
This works also with gksudo (synaptics for examples asks for the root password too).
Now it comes my problem:
In KDE/gnome/xfce some windows require that I press the button "authorize" to activate some administrative options. When I do it, it still asks me for the user password.
Is there a way to tell the system that also in that case I want to be asked for the root password?
What I want is basically this:
A user, who is not capable of doing ANYTHING administrative unless he/she types the root password.
(I tried to remove the administrative privilege to the user, but this prevents the user from issuing a sudo...)
Many thanks,
Danilo
I am a slackware user recently jumped into xubuntu.
I would have a question regarding the root account and the sudo management.
I've read (and understood) the document help.ubuntu.com/community/RootSudo regarding the fact that a user can administer the system without requiring to know the root password.
Now I have a problem:
I share a user with my girlfriend. I don't want to create different users for other reasons, but I would like that when I "administrate" the system it asks me for the root password and not for the user password.
I accomplished it by putting the option "rootpw" into etc/sudoerc.
Everytime I type a sudo, it asks me for the root password.
This works also with gksudo (synaptics for examples asks for the root password too).
Now it comes my problem:
In KDE/gnome/xfce some windows require that I press the button "authorize" to activate some administrative options. When I do it, it still asks me for the user password.
Is there a way to tell the system that also in that case I want to be asked for the root password?
What I want is basically this:
A user, who is not capable of doing ANYTHING administrative unless he/she types the root password.
(I tried to remove the administrative privilege to the user, but this prevents the user from issuing a sudo...)
Many thanks,
Danilo