LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


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

Rep: Reputation: 38
Force logoff


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

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

Rep: Reputation: 30
try
Code:
# su user
$ logout
That may work :-)
 
Old 07-24-2005, 09:35 PM   #3
macemoneta
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: 344Reputation: 344Reputation: 344Reputation: 344
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:59 AM.

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