Subversion Repositories ALCASAR

Rev

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

Rev 2965 Rev 2990
Line 11... Line 11...
11
User_Alias	ADMIN=sysadmin				# local admin account
11
User_Alias	ADMIN=sysadmin				# local admin account
12
User_Alias	ADMWEB=apache				# web server owner
12
User_Alias	ADMWEB=apache				# web server owner
13
User_Alias	SMS=gammu_smsd				# gammu-smsd owner
13
User_Alias	SMS=gammu_smsd				# gammu-smsd owner
14
 
14
 
15
# Cmnd alias specification
15
# Cmnd alias specification
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,/usr/local/bin/alcasar-network.sh,/usr/local/bin/alcasar-list-ip_gw.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,/usr/local/bin/alcasar-network.sh,/usr/local/bin/alcasar-list-ip_gw.sh		# network commands
17
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
18
Cmnd_Alias	BYPASS=/usr/local/bin/alcasar-bypass.sh				# authentication bypass
18
Cmnd_Alias	BYPASS=/usr/local/bin/alcasar-bypass.sh				# authentication bypass
19
Cmnd_Alias	RADDB=/usr/bin/radwho,/usr/sbin/chilli_query		# manage users in command line
19
Cmnd_Alias	RADDB=/usr/bin/radwho,/usr/sbin/chilli_query		# manage users in command line
20
Cmnd_Alias	SQL=/usr/local/bin/alcasar-mysql.sh					# export users database
20
Cmnd_Alias	SQL=/usr/local/bin/alcasar-mysql.sh					# export users database
21
Cmnd_Alias	SYSTEM_BACKUP=/usr/local/bin/alcasar-conf.sh		# create conf backup file
21
Cmnd_Alias	SYSTEM_BACKUP=/usr/local/bin/alcasar-conf.sh		# create conf backup file
Line 30... Line 30...
30
Cmnd_Alias	HTDIGEST=/usr/local/bin/alcasar-profil.sh			# manage htdigest groups
30
Cmnd_Alias	HTDIGEST=/usr/local/bin/alcasar-profil.sh			# manage htdigest groups
31
Cmnd_Alias	LOG_GEN=/usr/local/bin/alcasar-generate_log.sh		# create log PDF from ACC
31
Cmnd_Alias	LOG_GEN=/usr/local/bin/alcasar-generate_log.sh		# create log PDF from ACC
32
Cmnd_Alias	LDAP=/usr/local/bin/alcasar-ldap.sh					# enable/disable LDAP connection
32
Cmnd_Alias	LDAP=/usr/local/bin/alcasar-ldap.sh					# enable/disable LDAP connection
33
Cmnd_Alias 	IOT_CAPTURE=/usr/local/bin/alcasar-iot_capture.sh	# enable/disable raw capture of Iot (pcap) --> in activity ACC page
33
Cmnd_Alias 	IOT_CAPTURE=/usr/local/bin/alcasar-iot_capture.sh	# enable/disable raw capture of Iot (pcap) --> in activity ACC page
34
Cmnd_Alias 	WIFI4EU=/usr/local/bin/alcasar-wifi4eu.sh			# enable/disable wifi4eu integration (logo + snippet)
34
Cmnd_Alias 	WIFI4EU=/usr/local/bin/alcasar-wifi4eu.sh			# enable/disable wifi4eu integration (logo + snippet)
-
 
35
Cmnd_Alias  MAIL_SERVICE=/usr/bin/bash,/usr/local/bin/alcasar-mail-install-V2.sh,/usr/local/bin/alcasar-iptables.sh,/usr/local/etc/alcasar-iptables-local.sh 		# Service mail commands to execute with web server
35
 
36
 
36
# Defaults specification
37
# Defaults specification
37
# Defaults syslog=auth
38
# Defaults syslog=auth
38
 
39
 
39
# Runas alias specification
40
# Runas alias specification
Line 49... Line 50...
49
 
50
 
50
# Samples
51
# Samples
51
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
52
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
52
# %users  localhost=/sbin/shutdown -h now
53
# %users  localhost=/sbin/shutdown -h now
53
 
54
 
54
ADMWEB	LAN_ORG=(root)	NOPASSWD: NET,SYSTEM_BACKUP,SQL,BL,NF,EXPORT,RADDB,LOGOUT,UAM,SERVICE,GAMMU,SSL,HTDIGEST,LOG_GEN,LDAP,IOT_CAPTURE,WIFI4EU
55
ADMWEB	LAN_ORG=(root)	NOPASSWD: NET,SYSTEM_BACKUP,SQL,BL,NF,EXPORT,RADDB,LOGOUT,UAM,SERVICE,GAMMU,SSL,HTDIGEST,LOG_GEN,LDAP,IOT_CAPTURE,WIFI4EU,MAIL_SERVICE
55
ADMIN	LAN_ORG=(root)	NOPASSWD: NET,URPMI,BYPASS,SYSTEM_BACKUP,SQL,EXPORT,SERVICE,SSL
56
ADMIN	LAN_ORG=(root)	NOPASSWD: NET,URPMI,BYPASS,SYSTEM_BACKUP,SQL,EXPORT,SERVICE,SSL
56
SMS	LAN_ORG=(root)	NOPASSWD: GAMMU
57
SMS	LAN_ORG=(root)	NOPASSWD: GAMMU