David Sieb&phgr;rger wrote:
> 
> 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.

Something similar to that happened to me some time ago and there were no
running processes by that user at all, just normal system processes. I
think it might had to do with u/wtmp. Is there a way to clean such
entries from u/wtmp?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to