/alcasar.sh |
---|
1823,7 → 1823,7 |
pc = localhost |
database = $DB_GAMMU |
RunOnReceive = $DIR_DEST_BIN/alcasar-sms.sh --new_sms |
RunOnReceive = sudo $DIR_DEST_BIN/alcasar-sms.sh --new_sms |
StatusFrequency = 30 |
;LoopSleep = 2 |
/conf/sudoers |
---|
9,7 → 9,8 |
Host_Alias LAN_ORG=192.168.182.0/255.255.255.0,localhost #réseau de l'organisme |
# User alias specification |
User_Alias ADMIN=sysadmin # local admin account |
User_Alias ADMWEB=apache # web admin account |
User_Alias ADMWEB=apache # web server owner |
User_Alias SMS=gammu_smsd # gammu-smsd owner |
# Cmnd alias specification |
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 |
50,3 → 51,4 |
ADMWEB LAN_ORG=(root) NOPASSWD: NET,SYSTEM_BACKUP,SQL,BL,NF,EXPORT,RADDB,LOGOUT,UAM,SERVICE,GAMMU,SSL,HTDIGEST,LOG_GEN,LDAP |
ADMIN LAN_ORG=(root) NOPASSWD: NET,URPMI,BYPASS,SYSTEM_BACKUP,SQL,EXPORT,SERVICE,SSL |
SMS LAN_ORG=(root) NOPASSWD; GAMMU |
/scripts/alcasar-sms.sh |
---|
166,7 → 166,7 |
function new_sms() { |
# Check Inbox table, manage Ban temp and perm, create account |
export salt='$1$passwd$' |
export salt='$5$passwd$' |
sql_select_inbox="connect gammu; SELECT ID, SenderNumber, TextDecoded FROM $inb;" |
sql_delete_inbox="connect gammu; DELETE FROM $inb" |
/web/acc/manager/htdocs/autoregistration.php |
---|
114,7 → 114,7 |
$l_country_filter = "Filtrage en cours : "; |
$l_country_filtering = " Filtrage par pays"; |
$l_country_filtering_plus = " Filtrage par pays avancé"; |
$l_phone_ban = " Numéro de téléphone bloqués"; |
$l_phone_ban = " Comptes crées et numéros de téléphone bloqués"; |
$l_country_france_ena = "Autorise les numéros français"; |
$l_country_ue_ena = "Autorise les numéros européens"; |
$l_country_all_ena = "Autorise tous les pays"; |
181,7 → 181,7 |
$l_country_filter = "Current filtering : "; |
$l_country_filtering = " Country filtering"; |
$l_country_filtering_plus = " Country filtering advanced"; |
$l_phone_ban = " Phone Number banned"; |
$l_phone_ban = " Accounts created and phone Numbers banned"; |
$l_country_france_ena = "Authorize the french numbers"; |
$l_country_ue_ena = "Authorize european numbers"; |
$l_country_all_ena = "Authorize all countries"; |