#! /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