Thursday, 29 January 2015

How to KILL a Logged in user in LINUX

pgrep -u username
ps -fp $(pgrep -u username)
killall -KILL -u username
userdel -r username

Second Method:
ps -u username  #it will give you PID (personal Identity Number )of the user
kill -s 9 <PID number>











No comments:

Post a Comment