1834711 Members
2192 Online
110069 Solutions
New Discussion

Re: disconnect an user

 
SOLVED
Go to solution
kacou
Regular Advisor

disconnect an user

how can i disconnect an user on hp-ux server (the command)
4 REPLIES 4
Jeeshan
Honored Contributor
Solution

Re: disconnect an user

run the command

#who -u
you will see the PID beside the IP address. kill that pid.

#kill
a warrior never quits
kacou
Regular Advisor

Re: disconnect an user

thanks a lot
Jeeshan
Honored Contributor

Re: disconnect an user

welcome, but forgot to assign points.
a warrior never quits
Asif Sharif
Honored Contributor

Re: disconnect an user

# who -u
root pts/1 Jun 2 15:43 . 6985 192.168.16.82

who -u Lists only those users who are currently logged in.

name"root" is the user's login name. line is the name of the line as found in the directory /dev.

The time field indicates when the user logged in.

activity is the number of hours and minutes since input activity last occurred on that particular line. A dot (.) indicates that the terminal has seen activity in the last minute and is therefore ``current''. If more than twenty-four hours have elapsed or the line has not been used since boot time, the entry is marked old. This field is useful when trying to determine whether a person is working at the terminal or not. The pid is the process-ID of the user's login process.

Kill -9

http://docs.hp.com/en/B3921-90010/who.1.html

Regards,
Asif Sharif
Regards,
Asif Sharif