• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Net admin - booting off a logged in user on linux as root

Yohhan

Senior member
If as root, you run "who" and notice someone logged into the computer that shouldn't be there, is there anyway to boot them off? And then after, keep them off (say by IP)?
 
ps auxww | grep USER
kill PID
echo 'ALL:IP' >> /etc/hosts.deny

USER is the username that is logged in. PID will be the process id of the shell the user is using. IP is the ip address the user is coming from.

And if the USER is logged in and he shouldn't be, change the password/disable the account of the USER he is logged in as. Sounds like you might have additional security problems...

EDIT: Fixed BOLD
 
Back
Top