Listing 1: Example per-user script
#!/bin/sh
UXW="~$1"
FPADM=/usr/local/frontpage/version4.0/bin/fpsrvadm.exe
APCTL=/usr/local/apache/bin/apachectl
if [ $# -ne 3 ]; then
echo "usage: $0 username group password"
exit 1
fi
$FPADM -o create -p 80 -w "$UXW" -xu "$1" -xg "$2" -u "$1" -pw "$3"
$APCTL restart
|