the Undernet #linux channel faq
previous contents next

How can I kick a user off my system?

A user will be disconnected from your machine when you kill the user's login process.

There are two ways of doing this.

ps faux will help you locate the users login shell, which you can then kill .

The second way is to use skill. In its simplest form, skill -u will kill all processes belonging to . Read the manpage for skill for more details.


previous contents next
questions, comments? email PolarWolf | (c) - 2002 undernet #linux