ps -aux | awk '/tcsh && ! awk/ { print $1, $2 }'
sudo chpass -s /dev/null username
ps -aux | awk '/tcsh/ && ! /awk/ { print $1, $2 }'
Originally posted by paulboy
Doesn't seem to work. I however did get the PID using Top command to get the ssh PID and typed kill PID. It killed the terminal on my win2000 machine I was using to log onto my mac. I typed who on my mac but said it was still logged in. Any ideas? I just want to boot him off. I wish I could type in disconnect user or something.