sudoers update
This commit is contained in:
parent
868d576631
commit
58c9bfa1b3
1 changed files with 5 additions and 1 deletions
|
@ -16,12 +16,16 @@ Defaults env_keep+=SSH_AUTH_SOCK
|
|||
# User alias specification
|
||||
|
||||
# Cmnd alias specification
|
||||
Cmnd_Alias OP_CMDS = /usr/bin/sngrep
|
||||
Cmnd_Alias DATABASE = /usr/bin/psql, /usr/bin/pg_dump
|
||||
|
||||
# User privilege specification
|
||||
root ALL=(ALL:ALL) ALL
|
||||
|
||||
# Allow members of group sudo to execute any command
|
||||
%sudo ALL=(ALL:ALL) NOPASSWD: ALL
|
||||
%operator ALL=(root) NOPASSWD:NOEXEC: OP_CMDS
|
||||
tic ALL=(postgres) NOPASSWD: DATABASE
|
||||
|
||||
# See sudoers(5) for more information on "#include" directives:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue