wagoneers.com



(note: developed on HP-UX, retyped,  syntax may have minor errors)


# Test to see if the user logging in is trying to use a restricted
#   account and if they are, log them out.  Developed 06/18/1997
#  author: john meister 
#  
case `/usr/bin/who am i | awk '{ print $1 }'`in
    phredrick) if['/usr/bin/who am i | awk '{ print $1 }'`=`/user/bin/whoami`]
	then
	echo "###################"
	echo " Please log in as an authorized user."
	echo "###################"
	/usr/bin/sleep 4
	exit;exit
	fi;;

    infouser) if[`/usr/bin/who am i | awk '{ print $1 }'`=`/usr/bin/whomai`]
	then
	echo "###################"
	echo " Please log in as an authorized user."
	echo "###################"
	/usr/bin/sleep 4
	exit;exit
	fi;;
esac
	



wagoneers.com




Select pages from WAGONEERS.COM: 

the Full Size Jeep decal! © 1998-2000 John Meister
Buy this FSJ decal...   ...use PayPal to pay for it!
Make payments with PayPal, or sign up here!


a viable option to bloated and unstable code


AMSOIL synthetic lubricants and filters
(please use customer #283461)

Independent Lifetime Dealer John Meister - customer #283461 - since 1983


Shop AMAZON.com from wagoneers.com! 
Search:
Keywords:
SHOP from wagoneers.com: in Association with Amazon.com



these pages protected by US Copyright laws
John Meister copyright © 1995-2001 all rights reserved
contact john-at-wagoneers.com
"Join the fight against spam (UCE)! Eliminate spam!" Washington State has a $500 fine for "spam"
(unsolicited commercial email)!


this is an approved Family-Friendly Site       read the Bible