previous up next contents
Previous: qzl_logfiles Up: Batches spécifiques Next: qzz_new_mail   Contents

qzq_anti_suse


#! /bin/bash

#------- pour le batch qwi ------------


chown root:dialout /etc/hosts

chmod g+w /etc/hosts
chmod u+s /usr/bin/smbmnt
chmod a+x /usr/bin/smbmount
chmod u+s /usr/bin/smbumount
chmod a+x /usr/bin/smbumount

#------- pppoed -----------------------

chown douillet:dialout /home/douillet/bin/qso_sync_pppoed
chmod g+r+x /home/douillet/bin/qso_sync_pppoed

#----- message d'accueil pour telnet --

set `ping $HOSTNAME -c 1 | grep PING`

cat << EOF > /etc/issue.net
Here is $2

Unauthorised access is prohibited

EOF


previous up next contents
Previous: qzl_logfiles Up: Batches spécifiques Next: qzz_new_mail   Contents


douillet@ensait.fr
2003-06-24