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