Golfreeze.packetlove.com: Life style of Golfreeze Canon400D Family kammtan.com Jazz Freebsd Unix Linux System Admin guitar Music

All about unix linux freebsd and FAQ for Packetlove.com Web hosting , Mail hosting , VoIP + IP PBX server => command , shell script ,tool , crontab => Topic started by: golfreeze on กรกฎาคม 26, 2011, 07:29:27 PM

Title: kill user session tty on unix linux freebsd
Post by: golfreeze on กรกฎาคม 26, 2011, 07:29:27 PM
###If you would like to kill user login with user=test22
#skill -KILL -u test22

Title: Re: kill user session on unix linux freebsd
Post by: golfreeze on กันยายน 03, 2012, 10:33:06 AM
#Linux distro
###If you would like to kill user login with user=test22
#skill -KILL -u test22


Title: Re: kill user session on unix linux freebsd
Post by: golfreeze on กันยายน 03, 2012, 10:35:33 AM
##FreeBSD
ต้องการ kill user session tty on FreeBSD

#ps auxw | grep sshd
USER      PID
xxxx       38465  0.0  0.2  6260  3348  ??  I    27Aug12   0:00.19 sshd: xxxx@ttyp2 (sshd)
test1      63936  0.0  0.2  6232  3332  ??  S    23Jun12   0:00.18 sshd: test1@ttyp1 (sshd)

#kill 38465

completed !!