Linux - managing remote users

Farfrael

Senior member
Mar 6, 2002
312
0
0
A simple question but i couldn't find the answer (i have searched) .
I know how to list users connected to the system (who, w), how to list processes (ps -e) but i don't know how to kick a user who is already connected :confused:

I tried apropos kick/disconnect but couldn't find anything.

Thanks in advance for any answer :)
 

Farfrael

Senior member
Mar 6, 2002
312
0
0
i finally thought about it but it seems ... i don't know ... brutal

Anything more "elegant" ? A special command ?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
What's not elegant about it? There's not really any other way to do it. When you type 'exit' in the shell all it does is quit, so killing it is the same thing as long as you don't use -9 for no reason.