Re: [Hampshire] xubuntu su <>sudo question

Top Page

Reply to this message
Author: Alan Pope
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] xubuntu su <>sudo question
Hi Tim.

2009/7/12 Tim <xendistar@???>:
>
> I am setting up an old laptop for my son which is running xubuntu 9.04. I don't
> want him to be able to "sudo" so I set a password for su, I typed
>
> sudo passwd
>


That's not how I would do it. I'd remove him from the admin group -
which is how he inherited sudo rights in the first place. This would
have the effect that others could sudo but he could not.

> I then typed in a password which was accepted, now if I type su in a terminal
> screen it asks for the above password and root access is obtained. But if as a
> normal users if go into add\remove (programs) it will ask for a password for
> the users and by entering the users password it gives me root access, if I try
> the su (root) password I setup it gets rejected. How can I change this??
>


https://help.ubuntu.com/community/RootSudo#Enabling%20the%20root%20account

I think that's about the 5th time I've linked to that page on this
list :) Maybe we should have a FAQ :)

Cheers,
Al.