#!/bin/sh -e for i in whois traceroute tftp telnet ping ifconfig ftp do chgrp network "/usr/bin/$i" chmod 4550 "$1/usr/bin/$i" done