> How about creating a quick script '/etc/threefingersalute', like the one
> below:
> - -
> if [ $USERNAME = "ROOT" ]; then
I'd suggest you use $LOGNAME instead of $USERNAME. On my system, `echo
$USERNAME` returns nothing. `echo $LOGNAME` on the other hand, returns
the username of whoever's logged in. It works just fine with `su` too.
Also, "root" should be lowercase.
> halt
> else
> logout
> fi
Other than that, it looks good.
-Matt
- Re: [newbie] shuting down by ord. user.. William Meyer
- Re: [newbie] shuting down by ord. user.. Kelly Dorset
- Re: [newbie] shuting down by ord. user.. James Stewart
- Re: [newbie] shuting down by ord. user.. Andy Goth
- Re: [newbie] shuting down by ord. user.. darkknight
- Re: [newbie] shuting down by ord. user.. Andy Goth
- Re: [newbie] shuting down by ord. user.. Matt Stegman
- [newbie] no mouse on re-install David Gill
- Re: [newbie] shuting down by ord. user.. Andy Goth
- Re: [newbie] shuting down by ord. user.. Matt Stegman
- Re: [newbie] shuting down by ord. user.. Theo Brinkman
- Re: [newbie] shuting down by ord. user.. Axalon
- Re: [newbie] shuting down by ord. user.. Andy Goth
- Re: [newbie] shuting down by ord. user.. Axalon
- Re: [newbie] shuting down by ord. user.. Andy Goth
- Re: [newbie] shuting down by ord. user.. Theo Brinkman
