[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3master/usr/share/se3/scripts/ -> permse3 (summary)

(no description)

File Size: 337 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 function

  SETNETLOGON()

Functions
Functions that are not part of a class:

SETNETLOGON({if [ -e /home/netlogon ]; thenfind /home/netlogon/machine/ -name gpoPASSWD -deletechmod -R 755 /home/netlogonchown -R admin:admins /home/netlogon/chmod g+s /home/netlogonsetfacl -b /home/netlogon/if [ -e /home/netlogon/domscripts/ ]; thenchmod 664 /home/netlogon/domscripts/*fisetfacl -R -m u:adminse3:rx /var/se3/Progs/installsetfacl -R -m d:u:adminse3:rx /var/se3/Progs/install chown root:admins /home/netlogon/CPAU.exechmod 775 /home/netlogon/CPAU.exefi}if [ "$1" == "netlogon" ]; thenSETNETLOGONexit 0fichmod 400 /root/.my.cnfchmod 544 /etc/default/apache2chmod 600 /etc/ldap.secretchown root:root /etc/ldap.secretchmod 640 /etc/ldap/slapd.confchmod 644 /etc/ldap/slapd.pemchmod 644 /etc/pam_ldap.confchown root:root /etc/pam_ldap.confchmod 644 /etc/libnss-ldap.confchown root:root /etc/libnss-ldap.confchown openldap:openldap /var/run/slapd/chown -R openldap:openldap /etc/ldapchown -R openldap:openldap /var/lib/ldapchown root.root /usr/sbin/admindchmod 750 /usr/sbin/admindchmod 550 /usr/share/se3/scripts/*chown www-se3.root /usr/share/se3/scripts/*chmod 550 /usr/share/se3/sbin/*chown www-se3.root /usr/share/se3/sbin/*chmod 550 /usr/share/se3/scripts-alertes/*chown www-se3.root /usr/share/se3/scripts-alertes/*chmod 750 /usr/share/se3/scripts/tarCreatechmod 750 /usr/share/se3/includes/*chown www-se3.root /usr/share/se3/includes/*chmod 0440 /etc/sudoerschown www-se3.root /usr/lib/cgi-binse/gep*.cgichown www-se3.root /usr/lib/perl5/Se.pmchmod -R 750 /etc/savechgrp -R admins /var/se3/savechown -R www-se3 /etc/ssmtpchown -R www-se3.lpadmin /etc/samba/printers_se3chmod 770 /etc/samba/printers_se3chmod -R 775 /var/lib/samba/printerschown -R admin:admins /var/lib/samba/printerschmod 777 /var/spool/sambachown -R admin:root /var/se3/driverschown -R www-se3 /var/www/se3chmod 750 -R /var/www/se3chmod 400 /var/www/se3/includes/config.inc.php[ -e /var/www/se3/includes/dbconfig.inc.php ] && chmod 400 /var/www/se3/includes/dbconfig.inc.phpif [ -e /var/www/se3/includes/privateKey.pyc ]thenchmod 440 /var/www/se3/includes/privateKey.pycchown www-se3.www-data /var/www/se3/includes/privateKey.pycfichmod 770 /var/se3/Docs/deploychown admin.www-data /var/se3/Docs/deploychown www-se3.root /var/remote_admchmod 770 /var/remote_admchmod -R 700 /var/remote_adm/.sshchown -R www-se3.www-data /var/remote_adm/.sshif [ -f /var/remote_adm/.ssh/id_rsa.pub ]thenchmod 600 /var/remote_adm/.ssh/id_rsachmod 640 /var/remote_adm/.ssh/id_rsa.pubfiif [ -L /var/log ]; thenLOGS_DIR="/var/se3/log"elseLOGS_DIR="/var/log"fichown root $LOGS_DIR}chown root $LOGS_DIR}/*chown -R news $LOGS_DIR}/newschown -R mysql $LOGS_DIR}/mysql*chown -R www-se3 $LOGS_DIR}/se3chmod -R 750 $LOGS_DIR}/se3if [ -e $LOGS_DIR}/clamav ]; thenchown -R clamav $LOGS_DIR}/clamavfiif [ -e $LOGS_DIR}/squid ]; thenchown -R proxy $LOGS_DIR}/squidfiif [ -e $LOGS_DIR}/squid3 ]; thenchown -R proxy $LOGS_DIR}/squid3fiif [ -e $LOGS_DIR}/dansguardian ]; thenchown -R dansguardian /var/log/dansguardianfiif [ -e $LOGS_DIR}/ocsinventory-NG ]; thenchown -R www-se3 $LOGS_DIR}/ocsinventory-NGfiSETNETLOGONif [ -e /home/templates ]; thenchmod 775 /home/templateschown admin:admins /home/templates -R[ ! -e /home/templates/skeluser ] && ln -s /etc/skel/user /home/templates/skeluserchown -R www-se3 /etc/skel/usersetfacl -R -m u:www-se3:rwx /home/templates/ 2> /dev/nullsetfacl -R -m d:u:www-se3:rwx /home/templates/ 2> /dev/nullfimkdir -p /etc/nutchown -R www-se3 /etc/nutchgrp nut /var/run/nutchgrp nut /var/lib/nut)   X-Ref
No description



Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1