User name changed to number

edj edj
Mon May 17 11:31:07 PDT 2004


On Saturday 11 May 2002 17:34, Bill Campbell wrote:
> On Sat, May 11, 2002 at 05:29:54PM -0400, edj wrote:
> >Somehow or other, all user files/directories changed from user name to
> >number.  edj:users, e.g., now reads 500:users, not only in HOME but
> > also in /tmp.  Some configuration file got foobarred, but I don't know
> > which. Also, is /tmp supposed to be drwxrwxrwt ?  I changed the 500's
> > in home/edj to edj, but they all changed back.  Any advice
> > appreciated.  Thanks a lot.
>
> Generally this means your /etc/passwd file has been clobbered.
> Yes, /tmp is supposed to have those permissions.  It lets anybody
> create files, but only the owner (and root) can remove them.

Thanks.  I checked /etc/passwd against a version from a backup, and 
they're identical.  A result of all this is that no user can log in at 
all.  Because root's stuff is still root:root, all's well with it.  An 
attempt to "su" from root to edj yields a "Permission denied" - I guess 
because edj's been hosed from the system.

-- 
Ed Jabbour



More information about the Linux-users mailing list