#!/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 "Lawson Web Services User Password Change" echo "" echo "" # build table and display change password form echo "
" echo "

Lawson Web Services User Password Change

" # use existing Lawson graphics 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 "
" echo "Change password for user:" echo "
" echo "    " echo "    " echo "    " echo "   " echo "New Password: " echo "
" echo "  " echo "    " echo "    " echo "    " echo "    " echo "Enter Again: " echo "
" echo "

" echo "" echo "

" fi echo "
" echo "" echo ""