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

How to write such sudoers?



I want the user can execute commands through sudo with PASSWD and  NOPASSWD for some exceptional commands, like nmap. I write the entity is lists bellow, but it seems not work.

test  ALL = PASSWD: ALL, NOPASSWD: /usr/bin/nmap

Reply to: