Line 7... |
Line 7... |
7 |
|
7 |
|
8 |
# Host alias specification
|
8 |
# Host alias specification
|
9 |
Host_Alias LAN_ORG=192.168.182.0/255.255.255.0,localhost #réseau de l'organisme
|
9 |
Host_Alias LAN_ORG=192.168.182.0/255.255.255.0,localhost #réseau de l'organisme
|
10 |
# User alias specification
|
10 |
# User alias specification
|
11 |
User_Alias ADMIN=sysadmin # local admin account
|
11 |
User_Alias ADMIN=sysadmin # local admin account
|
12 |
User_Alias ADMWEB=apache # web admin account
|
12 |
User_Alias ADMWEB=apache # web server owner
|
- |
|
13 |
User_Alias SMS=gammu_smsd # gammu-smsd owner
|
13 |
|
14 |
|
14 |
# Cmnd alias specification
|
15 |
# Cmnd alias specification
|
15 |
Cmnd_Alias NET=/sbin/ip,/sbin/arping,/sbin/arp,/usr/sbin/tcpdump,/usr/local/bin/alcasar-watchdog.sh,/usr/local/bin/alcasar-dhcp.sh,/usr/local/bin/alcasar-dns-local.sh # network commands
|
16 |
Cmnd_Alias NET=/sbin/ip,/sbin/arping,/sbin/arp,/usr/sbin/tcpdump,/usr/local/bin/alcasar-watchdog.sh,/usr/local/bin/alcasar-dhcp.sh,/usr/local/bin/alcasar-dns-local.sh # network commands
|
16 |
Cmnd_Alias URPMI=/usr/sbin/urpmi,/usr/sbin/urpmi.update # packages managment
|
17 |
Cmnd_Alias URPMI=/usr/sbin/urpmi,/usr/sbin/urpmi.update # packages managment
|
17 |
Cmnd_Alias BYPASS=/usr/local/bin/alcasar-bypass.sh # authentication bypass
|
18 |
Cmnd_Alias BYPASS=/usr/local/bin/alcasar-bypass.sh # authentication bypass
|
Line 48... |
Line 49... |
48 |
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
|
49 |
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
|
49 |
# %users localhost=/sbin/shutdown -h now
|
50 |
# %users localhost=/sbin/shutdown -h now
|
50 |
|
51 |
|
51 |
ADMWEB LAN_ORG=(root) NOPASSWD: NET,SYSTEM_BACKUP,SQL,BL,NF,EXPORT,RADDB,LOGOUT,UAM,SERVICE,GAMMU,SSL,HTDIGEST,LOG_GEN,LDAP
|
52 |
ADMWEB LAN_ORG=(root) NOPASSWD: NET,SYSTEM_BACKUP,SQL,BL,NF,EXPORT,RADDB,LOGOUT,UAM,SERVICE,GAMMU,SSL,HTDIGEST,LOG_GEN,LDAP
|
52 |
ADMIN LAN_ORG=(root) NOPASSWD: NET,URPMI,BYPASS,SYSTEM_BACKUP,SQL,EXPORT,SERVICE,SSL
|
53 |
ADMIN LAN_ORG=(root) NOPASSWD: NET,URPMI,BYPASS,SYSTEM_BACKUP,SQL,EXPORT,SERVICE,SSL
|
- |
|
54 |
SMS LAN_ORG=(root) NOPASSWD; GAMMU
|