Listing 1: passwd
#!/bin/sh
#
# /etc/passwd -- really run $PASSWDHOST /etc/passwdd
#
PASSWDHOST=grant
COMMUNITY="Writing Centre"
if [ $# -ne 0 ]; then
echo "passwd: change passwords on the $COMMUNITY server"
echo "Usage: /etc/passwd"
exit 1
fi
echo "Connecting to $COMMUNITY password server on $PASSWDHOST."
TERM=$USER rlogin $PASSWDHOST -l passwdd
exit
# End of File
|