SUDO and adduser... not allowing group of wheel

Eric Six erics at sirsi.com
Fri Mar 19 09:11:46 PST 2004


Hi all,

I have an admin question regarding sudo. I want a user to be able to use sudo with adduser, but not be able to add users to the group wheel. How would I go a bout doing this?

Cmnd_Alias      NOWHEEL = !/usr/sbin/adduser -group wheel

I tried the above and that doesn't seem to do it..

TIA
Eric



More information about the freebsd-questions mailing list