how to kill session unix when you are not the owner code example Example: kill user sessions in centos7 pkill -KILL -u {username}