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

Re: deluser without rebooting first



On Mon, Jan 26, 2004 at 11:18:27PM -0600, Alex Malinovich wrote:
> 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."
> > 
> > I have to reboot first.  Why?  How can I get <me> not to be logged in at 
> > all so I can deluser and recreate him without rebooting?
> 
> That's certainly odd. Try doing a 'who -H' to see who all is currently
> logged in. I sometimes get dead ssh logins that persist until the next
> reboot. If that doesn't help, I'm not really sure what else to check.

who -H says the user has pts/[0-3] open, even though I've slayed him.
How can I close those?



Reply to: