> > ah! i also made a single script that forces me to change the
> > root password everytime i go to shutdown the machine.
> Do you mind posting that script on the mailing list...

hi,

well, when i said "single" i meant "simple", sorry.

--------------------------------------------
&:) ls -1 /sbin/shut*
/sbin/shutdown
/sbin/shutdown.off
&:) cat /sbin/shutdown
#!/bin/sh
if [ "$1" = "OUT" ]
then passwd && /sbin/shutdown.off -t0 -r now
else /sbin/shutdown.off $*
fi
--------------------------------------------

just change OUT to whatever-you-want and call

shutdown whatever-you-want


ps.: i said it was simple (single...) 

[]s - s/&:(/&:)/g
aurelio



---
You are currently subscribed to linuxconf as: [[email protected]]
To unsubscribe, forward this message to [EMAIL PROTECTED]

Reply via email to