[./Python/etc/sudoers] respbats peut faire who2b sur vo
darcs-hash:20100118220559-8fbb1-7c60beb5b05ae1fe6a9800c1442169907a4e5c12.gz
This commit is contained in:
parent
a15c1e422b
commit
3a4add1fa4
1 changed files with 6 additions and 0 deletions
|
@ -20,12 +20,18 @@ if has("users"):
|
||||||
@User_Alias BUREAU= %bureau
|
@User_Alias BUREAU= %bureau
|
||||||
@Runas_Alias USERS= %users
|
@Runas_Alias USERS= %users
|
||||||
|
|
||||||
|
elif has("2B"):
|
||||||
|
@User_Alias RESPBATS= %respbats
|
||||||
|
|
||||||
@# Cmnd alias specification
|
@# Cmnd alias specification
|
||||||
|
|
||||||
@# User privilege specification
|
@# User privilege specification
|
||||||
@root ALL=(ALL) ALL
|
@root ALL=(ALL) ALL
|
||||||
@NOUNOUS ALL=(ALL) ALL
|
@NOUNOUS ALL=(ALL) ALL
|
||||||
|
|
||||||
|
if has("2B"):
|
||||||
|
@RESPBATS ALL=(respbats) NOPASSWD: /usr/scripts/gestion/tools/who2b.py
|
||||||
|
|
||||||
if has("users"):
|
if has("users"):
|
||||||
@# Les modérateurs ont le whos
|
@# Les modérateurs ont le whos
|
||||||
@MODEROS ALL=(respbats) /usr/scripts/gestion/whos.py
|
@MODEROS ALL=(respbats) /usr/scripts/gestion/whos.py
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue