David Shaw on Thu, 4 Sep 2003 10:37:26 -0400

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

Re: [PLUG] ghost user

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.

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