Try this?
ps aux|fgrep acheng@ttyp3
On Mon, Aug 06, 2012 at 10:56:00AM +0800, Alan Cheng wrote:
Hello all,
I'd like to kill an stale user session, but could not find a way to do
that. Seems like there is no process attached to that ttyp4 any more. It's
an OpenBSD 5.1 on i386, by the way.
On Mon, Aug 06, 2012 at 01:38:27PM +1000, David Diggles wrote:
Try this?
ps aux|fgrep acheng@ttyp3
ps aux|fgrep acheng@ttyp4
do you get the sshd process id you can kill?
On Mon, Aug 06, 2012 at 10:56:00AM +0800, Alan Cheng wrote:
Hello all,
I'd like to kill an stale user session,
Got nothing from ps aux|fgrep acheng@ttyp4. No SSHD process to kill
either.
The problem for me is that no process belongs to ttyp4, but w still
reports an idle session.
FYI:
$ ps aux|fgrep acheng@ttyp4
$ w
9:57PM up 13 days, 1:31, 3 users, load averages: 0.16, 0.18, 0.23
USERTTY FROM
http://marc.info/?l=openbsd-miscm=104862612011751w=2
---
List: openbsd-misc
Subject:Re: Can't disconnect ghost SSH session from days ago
From: Mathieu Sauve-Frankel m.sauve () secureops ! com
Date: 2003-03-25 20:59:44
man utmp
This ghost user is merely a
Ah ha, I searched marc.info earlier, but my key word did not found that
thread.
Now I know how it happened and how to fix it.
Thanks David.
On Mon, Aug 6, 2012 at 1:17 PM, David Diggles da...@elven.com.au wrote:
http://marc.info/?l=openbsd-miscm=104862612011751w=2
---
List:
5 matches
Mail list logo