Computing.Net > Forums > Linux > Force user logoff?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Force user logoff?

Reply to Message Icon

Name: Bo R. Wells
Date: July 27, 2002 at 12:10:36 Pacific
Comment:

I have a system several users remote into from home. If I need to force one of the users to logoff without affecting the system or any users logged on how would I do that?



Sponsored Link
Ads by Google

Response Number 1
Name: Jake
Date: July 27, 2002 at 12:49:16 Pacific
Reply:

ps -u user | grep bash
then use kill -9 to kill the user's shell(s)


0

Response Number 2
Name: Bo R. Wells
Date: July 27, 2002 at 17:10:05 Pacific
Reply:

Thanks for the quick answer.

On Windows NT you can either kill a user or force a logoff. If you force a logoff it performs a normal orderly logoff, closing applications, saving profile, etc. In the example you gave does it simply Kill the user process and all applications they launched or does it initiate some sort of normal logoff?


0

Response Number 3
Name: Guy Allard
Date: July 28, 2002 at 16:46:54 Pacific
Reply:

In Jake's reply the '-9' means kill now, do not do squat for cleanup.

Guy


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Force user logoff?

Help please - networking issues www.computing.net/answers/linux/help-please-networking-issues-/26414.html

samba is slow, help www.computing.net/answers/linux/samba-is-slow-help/19237.html

WinXP can¡¦t connect Samba_Server www.computing.net/answers/linux/winxp-cant-connect-sambaserver/12479.html