Force / Kill Logout a User
You terminate a session by killing its parent process, called the session leader. Find out which process it is with:
You terminate a session by killing its parent process, called the session leader. Find out which process it is with:
# ps -dN|grep pts/3
And then kill that process using
# kill -9 <processid>
Kill and Logout a User
# skill -KILL -u vivek