Doing it at logon would be easiest with su or some thing like it indeed
-- Off-topic --
quote:
didn't know the local admin either. Was assuming it... Who wants to make normal users local admin...
Posted this.....
code:
Select
Case $user = admin
$network = "Totally screwed up"
$sysadmin = "Flooded with work"
$sysadminmood = "Also totally screwed up"
Case $user = localadmin
$workstation = "Totally screwed up"
$firewall = "Getting bombarded with kazaa requests and stuff"
$sysadmin = "Flooded with firewall warnings"
$sysadminmood = "Also totally screwed up"
Case $user = "User" AND $user = "Unable to do stuff he likes without admins knowing"
$network = "Up and running"
$sysadmin = "Happy, legs up on desk saying he's real bussy"
$sysadminmood = "Might think twice about kicking a user"
EndSelect
... here a few days ago just for fun
_________________________
Mart
- Chuck Norris once sold ebay to ebay on ebay.