...or use the GUI... System->Administration->Users and Groups<br>Right-click on the user (or make a new one), click the privileges tab, and check or uncheck "Administer the system".<br><br>HTH too,<br><br>Matthew.
<br><br><div><span class="gmail_quote">On 8/4/07, <b class="gmail_sendername">Neil Greenwood</b> <<a href="mailto:neil.greenwood.lug@gmail.com">neil.greenwood.lug@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 04/08/07, Tony Arnold <<a href="mailto:tony.arnold@manchester.ac.uk">tony.arnold@manchester.ac.uk</a>> wrote:<br>> (On a technical front, the user name has to be a member of the admin<br>> group to be able to use sudo. Also, by editing /etc/sudoers you can
<br>> control exactly which commands users can execute. For example, if you<br>> wanted to let your kids shut the machine down, you could arrange that<br>> without letting them do anything else.).<br><br>Just wanted to point out that you shouldn't edit /etc/sudoers
<br>directly, but should use the visudo command to do it. It syntax-checks<br>the file you've edited before replacing the old /etc/sudoers, so sudo<br>won't break if you make a mistake.<br><br>This is especially useful since you'll need to use sudo to edit the
<br>/etc/sudoers file (or use visudo).<br><br>It's also worth pointing out that, unlike the implication in the name,<br>it won't necessarily use vi to edit the file, but will respect your<br>EDITOR env. variable setting.
<br><br>HTH<br>Hwyl,<br>Neil.<br><br>--<br><a href="mailto:ubuntu-uk@lists.ubuntu.com">ubuntu-uk@lists.ubuntu.com</a><br><a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk">https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
</a><br><a href="https://wiki.kubuntu.org/UKTeam/">https://wiki.kubuntu.org/UKTeam/</a><br></blockquote></div><br>