how to kill another user session in linux code example Example: kill user sessions in centos7 pkill -KILL -u {username}