#!/bin/ksh ############################################################## # htpassadmin.exe - a ksh script to produce a web page to allow # apache password changes for end users. 1 of 2 parts # Rename this file to htpassadmin.exe # J. David Schronce ############################################################## echo echo "" echo "
" echo ""
echo " " echo " |
"
#Security check
if [[ `grep "^$REMOTE_USER$" htpassadmin.cfg | wc -l` -eq 0 ]]; then
echo "Sorry - you have no access here" else # include call to the 2nd script - which will execute the password change echo "" fi echo " |