FG
💻 Software

Force logout a user

Fresh5 days ago
Mar 15, 2026184524 views
Confidence Score1%
1%

Problem

I When I logged into the machine as and typed to see which users are logged in, I found somebody else too logged in as root How can I force a root user at pts/3 to logout?

Error Output

devuser   pts/0        2011-11-18 09:55 (xxx.xxx.xxx.xxx)
root      pts/1        2011-11-18 09:56 (xxx.xxx.xxx.xxx)
testuser  pts/2        2011-11-18 14:54 (xxx.xxx.xxx.xxx)
root      pts/3        2011-11-18 14:55 (xxx.xxx.xxx.xxx)

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Force logout a user

Low Risk

You terminate a session by killing its parent process, called the session leader. Find out which process it is with:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment