[ubuntu-in] multiple session of one user
Nandan Vaidya
vaidya.nandan at gmail.com
Fri Mar 25 05:27:19 UTC 2011
On Wed, Mar 23, 2011 at 7:37 PM, Kingsly John <member+ubuntu at kingsly.net>wrote:
> +++ Nandan Vaidya [2011-03-23 16:01:32]:
>
> > If the 10.160.0.x2 session was via launched ssh, then the $w command
> should
> > show you the PID of the sshd process from where the pts/x (replace x with
> a
> > number) session was launched.
> > I believe killing this particular sshd process (only) should log you out
> from
> > that session.
>
> Where do you see the PID in the output of "w" ?
>
Yes, that was a bad mistake on my part.
I used
$ ps -ef | grep 'pts'
to find the which pts/x process to kill. I tried to kill it but it did not,
hence I just ended up killing the specific sshd using the PID
--
Nandan Vaidya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-in/attachments/20110325/39f81f57/attachment.html>
More information about the ubuntu-in
mailing list