Date: Mon, 4 Nov 2002 16:54:33 +0200 From: David =?iso-8859-1?Q?Sieb=F6rger?= <drs@rucus.ru.ac.za> To: Jez Hancock <jez.hancock@munk.nu> Cc: FreeBSD questions List <freebsd-questions@freebsd.org> Subject: Re: user dead but appears still logged in in 'w' output Message-ID: <20021104145433.GA755@rucus.ru.ac.za> In-Reply-To: <20021104113544.GB1080@users.munk.nu> References: <20021104113544.GB1080@users.munk.nu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon 2002-11-04 (11:35), Jez Hancock wrote: > > I have a problem with a user who was idle for a long period > > of time which I killed off by terminating the associated > > login process for that user's ssh connection. However > > that user still appears in the output from 'w'. > > > > How can I remove the user from 'w' output? > Ok, I've just logged in multiple times on a ttyp until I logged > in on the tty occupied by the ghost and the w entry was removed. > (The user was logged in on ttyp2, so I logged in on ttyp0, p1 and > then on logging in on p2 the ghost was removed). > > Is there an easier way? Send the user's shell a SIGHUP and (in most cases) it'll cleanly log itself out. -- David Siebörger drs@rucus.ru.ac.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021104145433.GA755>