Jaiwant Mulik on Thu, 4 Sep 2003 13:50:29 -0400


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

Re: [PLUG] ghost user


Perfect. fixing /var/run/utmp and /var/log/wtmp solved it.


On Thu, 2003-09-04 at 10:36, David Shaw wrote:
> On Thu, Sep 04, 2003 at 10:28:14AM -0400, Jaiwant Mulik wrote:
> > Does not work. ps aux does not list any processes attributed to jdoe.
> > But he still shows up in `who`
> 
> Your utmp file (usually /var/run/utmp) is out of sync with the rest of
> the world.  It happens sometimes if a process dies before updating the
> file.  I believe it resolves itself eventually when someone else
> replaces the bogus user in the file.  If you want to fix it now, there
> are several complex fixes, but the easy one is to delete and then
> touch /var/run/utmp and /var/log/wtmp.  Make sure you match the
> ownership, group, and permissions of the original files.
> 
> David
> _________________________________________________________________________
> Philadelphia Linux Users Group        --       http://www.phillylinux.org
> Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug
-- 
Jaiwant Mulik <jmulik@temple.edu>

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug