[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: deluser without rebooting first



Once upon a time Nano Nano said...
> > On Mon, 2004-01-26 at 22:48, Nano Nano wrote:
> > > When I logout as my user account, having never logged in any other TTYs,
> > > and log in TTY1 as root, and "slay <me>", and then "ps -AL | grep <me>", 
> > > no matches, and then try to "deluser <me>", it says "<me> is logged in."
>
> who -H says the user has pts/[0-3] open, even though I've slayed him.
> How can I close those?

It looks like there must still be some entries in utmp/wtmp. You may be
able to clear them up with sessreg(1x) - I've never used it before, but
from the man page it looks like it may do the trick.



Reply to: