User Privileges

Longman, Bill yellowdog-general@lists.terrasoftsolutions.com
Fri Jan 23 12:23:01 2004


> why don't you use 'sudo mount /dev/sdb1 /mnt/memstick' using your 
> regular user password when asked for?
> 
> Your username may have to be added to /etc/sudoers before 
> using a copy 
> from the root entry to allow you to use 'sudo'.
> 
> Simply enter 'su' in the terminal and enter you root password.
> 
> Then type 'pico /etc/sudoers &' and add the entry. Hit 
> Cntrl-X and give 
> a 'Y' for yes and you are done.

Better to use /sbin/visudo, rather than editing directly. Visudo parses the
file to make sure it's valid. If it ain't, sudo don't work no more. But,
mostly, he shouldn't have to use sudo if he doesn't need to.