Subversion Repositories ALCASAR

Rev

Rev 1710 | Rev 1740 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1710 Rev 1733
Line 17... Line 17...
17
Cmnd_Alias	BYPASS=/usr/local/sbin/alcasar-bypass.sh						# authentication bypass
17
Cmnd_Alias	BYPASS=/usr/local/sbin/alcasar-bypass.sh						# authentication bypass
18
Cmnd_Alias	RADDB=/usr/bin/radwho,/usr/sbin/chilli_query						# to manage users in command line
18
Cmnd_Alias	RADDB=/usr/bin/radwho,/usr/sbin/chilli_query						# to manage users in command line
19
Cmnd_Alias	SQL=/usr/local/sbin/alcasar-mysql.sh							# to export users database
19
Cmnd_Alias	SQL=/usr/local/sbin/alcasar-mysql.sh							# to export users database
20
Cmnd_Alias	SYSTEM_BACKUP=/usr/local/bin/alcasar-conf.sh						# to create conf backup file
20
Cmnd_Alias	SYSTEM_BACKUP=/usr/local/bin/alcasar-conf.sh						# to create conf backup file
21
Cmnd_Alias	EXPORT=/usr/local/bin/alcasar-archive.sh						# to export/save the log files
21
Cmnd_Alias	EXPORT=/usr/local/bin/alcasar-archive.sh						# to export/save the log files
22
Cmnd_Alias	BL=/usr/local/sbin/alcasar-bl.sh,/usr/local/sbin/alcasar-havp.sh,/usr/local/bin/alcasar-file-clean.sh,/usr/local/sbin/alcasar-url_filter.sh	# to manege the filtering system
22
Cmnd_Alias	BL=/usr/local/sbin/alcasar-bl.sh,/usr/local/sbin/alcasar-havp.sh,/usr/local/bin/alcasar-file-clean.sh,/usr/local/sbin/alcasar-url_filter.sh	# to manage the filtering system
23
Cmnd_Alias	NF=/usr/local/sbin/alcasar-nf.sh,/usr/local/bin/alcasar-iptables.sh,/usr/sbin/ipset	# to manage the firewall
23
Cmnd_Alias	NF=/usr/local/sbin/alcasar-nf.sh,/usr/local/bin/alcasar-iptables.sh,/usr/sbin/ipset	# to manage the firewall
24
Cmnd_Alias	LOGOUT=/usr/local/sbin/alcasar-logout.sh						# to disconnect the users
24
Cmnd_Alias	LOGOUT=/usr/local/sbin/alcasar-logout.sh						# to disconnect the users
25
Cmnd_Alias	UAM=/usr/local/sbin/alcasar-uamallowed.sh						# to manage the trusted websites (uamallowed)
25
Cmnd_Alias	UAM=/usr/local/sbin/alcasar-uamallowed.sh						# to manage the trusted websites (uamallowed)
26
Cmnd_Alias	SERVICE=/usr/bin/systemctl,/usr/sbin/shutdown						# to manage the linux services
26
Cmnd_Alias	SERVICE=/usr/bin/systemctl,/usr/sbin/shutdown						# to manage the linux services
27
Cmnd_Alias	GAMMU=/usr/local/bin/alcasar-sms.sh							# to manage the SMS subsystem
27
Cmnd_Alias	GAMMU=/usr/local/bin/alcasar-sms.sh							# to manage the SMS subsystem
-
 
28
Cmnd_Alias	SSL=/usr/bin/openssl									# to manage the certificates
28
Cmnd_Alias	SSL=/usr/bin/openssl,/usr/local/sbin/alcasar-importcert.sh,/usr/local/sbin/alcasar-defaultcert.sh	# to manage the certificats
29
Cmnd_Alias	IMPCERT=/usr/local/sbin/alcasar-importcert.sh						# to import an official certificate
29
 
-
 
30
 
30
 
31
# Defaults specification
31
# Defaults specification
32
# Defaults syslog=auth
32
# Defaults syslog=auth
33
 
33
 
34
# Runas alias specification
34
# Runas alias specification
Line 44... Line 44...
44
 
44
 
45
# Samples
45
# Samples
46
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
46
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
47
# %users  localhost=/sbin/shutdown -h now
47
# %users  localhost=/sbin/shutdown -h now
48
 
48
 
49
ADMWEB		LAN_ORG=(root)	NOPASSWD: NET,SYSTEM_BACKUP,SQL,BL,NF,EXPORT,RADDB,LOGOUT,UAM,SERVICE,GAMMU,SSL
49
ADMWEB		LAN_ORG=(root)	NOPASSWD: NET,SYSTEM_BACKUP,SQL,BL,NF,EXPORT,RADDB,LOGOUT,UAM,SERVICE,GAMMU,SSL,IMPCERT
50
ADMIN		LAN_ORG=(root)	NOPASSWD: NET,URPMI,BYPASS,SYSTEM_BACKUP,SQL,EXPORT,SERVICE
50
ADMIN		LAN_ORG=(root)	NOPASSWD: NET,URPMI,BYPASS,SYSTEM_BACKUP,SQL,EXPORT,SERVICE
51
 
51