Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 2004 11:09:53 -0600
From:      "Eric Six" <erics@sirsi.com>
To:        <freebsd-questions@freebsd.org>
Subject:   SUDO and adduser... not allowing group of wheel
Message-ID:  <1074B85B4E2938499546CF4FA2C3FF1614F83B@glenfiddich.sirsi.pvt>

next in thread | raw e-mail | index | archive | help
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 =3D !/usr/sbin/adduser -group wheel

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

TIA
Eric



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1074B85B4E2938499546CF4FA2C3FF1614F83B>