Chris wrote:
> Hello,
> 
> Is it possible to "boot" a user from the computer they are connected to?
> 
> Ie If you have Mr X connect to you via tty2, is it possible to
> forcefully terminate their connection.
> If so, how do you do this??

the magic pid -1 means all pids that 'you' own, so:

su - mrx -c 'kill -1 -1'

then do it harder:

su - mrx -c 'kill -2 -1'

and harder still

su - mrx -c 'kill -9 -1'


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to