[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Limited sudo access



Hi, 

I want to give myself limited sudo access to a selected list of commands,
without specfiying the sudo passwords. This is what I put into the visudo:

- - - - >8 - - - -
# Cmnd alias specification
Cmnd_Alias	DISK	= /bin/mount, /bin/umount, /usr/bin/eject, /sbin/fdisk

# User privilege specification
root	ALL=(ALL) ALL

+mygroup	ALL = NOPASSWD: DISK
- - - - >8 - - - -

But it doesn't work. I must have syntax errors. Can you help please? 

thanks





Reply to: