Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 14th June 2006, 03:56 AM
MarkE Offline
Registered User
 
Join Date: Feb 2006
Location: Zimbabwe
Posts: 94
Lightbulb Force a user to logoff Linux

Is there any command to force a user out of the system on Fedora Linux? Anything I can install with yum?
Reply With Quote
  #2  
Old 14th June 2006, 04:00 AM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
Depends - For gnome use:
Code:
killall -SIGKILL gnome-session
It's fun. Once, my friend was trying to logon as I SSH'ed from another computer and kept killing the session it was hilarious.
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #3  
Old 14th June 2006, 04:51 AM
Mat's Avatar
Mat Offline
Retired Community Manager
 
Join Date: Jun 2004
Location: lair of a unix daemon
Posts: 1,155
basically, kill the user's processes..
use "who -u" to identify them


Mat
__________________
Man will always find a difficult means to perform a simple task
(Rube Goldberg)

Having fun with Tcl at
Mat's Playground
Reply With Quote
  #4  
Old 14th June 2006, 05:01 AM
Mat's Avatar
Mat Offline
Retired Community Manager
 
Join Date: Jun 2004
Location: lair of a unix daemon
Posts: 1,155
ok, "who -u" will not show you the processes of a user, but rather *where* he's logged in

e.g.
Code:
# who -u
root     tty1         Jun 14 05:54 00:03        9353
mat      :0           Jun 14 05:54   ?          9391
mat      pts/1        Jun 14 05:55   .          9538
so, root is logged in on terminal 1
and mat is logged in on X server display :0 and has an terminal window (like xterm or konsole) open.

now, to force mat to logout, simply kill the x-server process by issuing
# kill 9391


Mat
__________________
Man will always find a difficult means to perform a simple task
(Rube Goldberg)

Having fun with Tcl at
Mat's Playground
Reply With Quote
Reply

Tags
force, linux, logoff, user

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
force FTP upload to correct folder insead of /home/user/Documents ? cuban_cigar Using Fedora 1 4th May 2009 09:43 PM
How to force ftp to overwrite instead of plopping in /home/user/Documents ? cuban_cigar Linux Chat 1 4th May 2009 09:31 PM
Blender causes logoff hvniekerk Using Fedora 2 16th December 2006 01:40 PM
how to force linux to use swap memory green-cat-fed Using Fedora 6 5th March 2006 02:23 PM


Current GMT-time: 00:10 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat