Link to home
Start Free TrialLog in
Avatar of itnifl
itniflFlag for Norway

asked on

Remote logoff of same user - Debian

It happens somtimes that I logon as root via ssh and for different reasons it happens sometimes that the session gets closed without the root user logging out. So after some time I will have several inactive root sessions logged in. I want to log those inactive root sessions off. I found out using 'killall -u root' was not a good idea. Any ideas?
ASKER CERTIFIED SOLUTION
Avatar of Serg Kazakov
Serg Kazakov
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Maciej S
Maciej S
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of itnifl

ASKER

Thanks! That covered it!
Avatar of itnifl

ASKER

Thanks. Both comments were useful and addressed the issue.