From 3a4add1fa4c6ef60f9eb76131cdec57aeac973ba Mon Sep 17 00:00:00 2001 From: Olivier Huber Date: Mon, 18 Jan 2010 23:05:59 +0100 Subject: [PATCH] [./Python/etc/sudoers] respbats peut faire who2b sur vo darcs-hash:20100118220559-8fbb1-7c60beb5b05ae1fe6a9800c1442169907a4e5c12.gz --- Python/etc/sudoers | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Python/etc/sudoers b/Python/etc/sudoers index d2dd697..4b5ecbb 100644 --- a/Python/etc/sudoers +++ b/Python/etc/sudoers @@ -20,12 +20,18 @@ if has("users"): @User_Alias BUREAU= %bureau @Runas_Alias USERS= %users +elif has("2B"): + @User_Alias RESPBATS= %respbats + @# Cmnd alias specification @# User privilege specification @root ALL=(ALL) ALL @NOUNOUS ALL=(ALL) ALL +if has("2B"): + @RESPBATS ALL=(respbats) NOPASSWD: /usr/scripts/gestion/tools/who2b.py + if has("users"): @# Les modérateurs ont le whos @MODEROS ALL=(respbats) /usr/scripts/gestion/whos.py