Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Try this: | 7 comments | Create New Account
Click here to return to the 'Try this:' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Try this:
Authored by: owain_vaughan on Jul 12, '01 06:07:15AM

Save this in a file called 'boot' or something similar:

#!/bin/sh

[ $# -lt 1 ] && exit 1
ps -opid,tty,command -U$1 | grep '\-.*sh' | grep -v grep | awk '{ print $1 }' | xargs kill -9

Make it executable with 'chmod 755 boot'
Then type 'boot user' to boot off a user called 'user'



[ Reply to This | # ]