SUDO

Daniel Bye freebsd-questions at slightlystrange.org
Tue Feb 1 03:21:53 PST 2005


On Tue, Feb 01, 2005 at 06:23:41AM +0100, Java Beans wrote:
> What do i have to enter in /etc/sudoers in order to give
> some user group the permission to start k3b with root
> permissions?

Something like this should work.  visudo compiles it happily enough,
anyway...

User_Alias  K3BUSERS = user1, user2, user3, ... usern
Cmnd_Alias  K3B = /path/to/k3b

K3BUSERS   ALL = (root) NOPASSWD: K3B

Take a look at sudoers(5). 

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050201/3fc5d815/attachment.bin


More information about the freebsd-questions mailing list