<br><br><div class="gmail_quote">On Sun, Feb 15, 2009 at 1:23 AM, Casey Dahlin <span dir="ltr"><<a href="mailto:cdahlin@redhat.com">cdahlin@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">Paulo Cavalcanti wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I removed two users from group wheel in F10,<br>
but they still have super user privileges, via sudo.<br>
<br>
I have even rebooted the box.<br>
<br>
-- <br>
Paulo Roma Cavalcanti<br>
LCG - UFRJ<br>
</blockquote></div></div>
This is a development list. It isn't the venue for these sorts of questions. Try fedora-list.<br>
<br>
Since you're here though...<br>
<br>
the wheel group has nothing to do with sudo access (necessarily). Check /etc/sudoers to see how your policy is configured.<br>
<br>
</blockquote><div><br>Sorry, I posted to the wrong list. My intention was to post to the user list,<br>but gmail auto completed the address, and I did not pay attention.<br><br>I fixed my problem, but I do not know why the first rule just gives an unrestricted<br>
access (all vboxusers can run any command as root), <br>while the second one works the way I wanted. They look the same to me:<br><br>------<br><br>%vboxusers ALL=/home/roma/bin/brup2.sh, /home/roma/bin/brdown.sh, NOPASSWD: ALL<br>
<br>------<br><br>## Allows members of the vboxusers group to set some network parameters<br>Cmnd_Alias   VBOXCMD =  /home/roma/bin/brup2.sh, /home/roma/bin/brdown.sh<br>Runas_Alias  VBOXCMD = root<br>%vboxusers ALL=NOPASSWD: VBOXCMD <br>
</div></div><br><br clear="all"><br>-- <br>Paulo Roma Cavalcanti<br>LCG - UFRJ<br>