Bookmark and Share Chat with us on Live Messenger Chat with us on Skype Follow iServices Facebook Profile of iServices MySpace Profile of iServices LinkedIn Profile of Jesse Grobstein LinkedIn Profile of Carla Narciso Login to i Services Private Server
Ninja Mascott We've arrived, and to prove it we're here

    Welcome to our blog!

           Bookmark this page and visit regularly to check for new content and free software recommendations!
« Is your internet slow? Find the best DNS for you!How to disable DNS on Linux »

Force user to logout

02/09/10

Permalink 12:17:50 pm by iservices, Categories: Scripts and Codes , Tags: command, force logout, linux, unix

Ever noticed a zombie user logged into a server?

Or maybe you just want to force a user to logout...

You can use the “who” command in a command prompt to see which users are logged in, like so:

who -u

Then use the pkill command to force them out.

pkill -KILL -u “username”

Pop in a particular username and boot them out the door.

1 comment

As for me it is a very useful post.
04/06/10 @ 16:16

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)

A place for us to post information and keep our visitors informed.

Search

XML Feeds


multiblog engine


Home  |   Services  |   Portfolio  |   Our Blog  |   About Us  |   Contact Us
© Copyright 2006 - 2010. i Services, Inc. All rights reserved.