Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-24-2005, 04:23 AM   #1
Registered: Dec 2004
Location: Atlanta, GA U.S.
Distribution: I play with them all :-)
Posts: 316

Rep: Reputation: 30
Force logoff

I seem to have a stray user on my server. How do I force that user instance to log off?

Old 07-24-2005, 09:19 PM   #2
Registered: Jan 2005
Location: Australia
Distribution: Slackware Archlinux FreeBSD
Posts: 218

Rep: Reputation: 30
# su user
$ logout
That may work :-)
Old 07-24-2005, 09:35 PM   #3
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Use the "skill" command:

skill 9 -u userid

If there are multiple logins, and you only want to kill one, then use the "w" command to find the tty, and use the '-t' option on skill.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
logoff scripts wwnexc Linux - Security 2 09-06-2005 03:24 PM
Problem regarding logoff anoopkv1 Linux - Software 1 03-30-2005 11:56 AM
Where is the logoff button? pe2338 LQ Suggestions & Feedback 2 08-08-2003 01:06 AM
Logoff problem Shad-Darim Linux - Newbie 5 07-21-2003 03:07 PM
X Windows LOGOFF anima_a_ignifer Linux - Software 0 11-06-2002 07:23 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration