Tips / Linux
linux users sudo sudoers limit commands
Author: Katrame
Visits: 1571
Date: 06.12.2007
syntax:
username/%group servername = (username command can be run as) command(s)
# vi /etc/sudoers
add this line:
freeman ALL = (ALL) /usr/bin/tail, /bin/more
this allow user freeman to launch tail and more command for file/processes of every user.
NB: this require sudo command and user password submission
%geeks ALL=(ALL) NOPASSWD: ALL
this allow users on group geeks to launch all command for file/processes of every user.
NB: this require sudo command and NOT REQUIRE user password submission
Author: Katrame
Visits: 1571
Date: 06.12.2007
syntax:
username/%group servername = (username command can be run as) command(s)
# vi /etc/sudoers
add this line:
freeman ALL = (ALL) /usr/bin/tail, /bin/more
this allow user freeman to launch tail and more command for file/processes of every user.
NB: this require sudo command and user password submission
%geeks ALL=(ALL) NOPASSWD: ALL
this allow users on group geeks to launch all command for file/processes of every user.
NB: this require sudo command and NOT REQUIRE user password submission
Page 1 of 1
Se vuoi discutere con noi su questo articolo o comunque vuoi porci delle domande usa il nostro Forum

