Unsolved mystery - I was given a coworker's Ubuntu 12.04.1 LTS machine and set up my own (sudo/admin) user on there from the command line. I switched to my user (from his sudo/admin user) and confirmed everything was okay using the
groups command and the
/etc/passwd file looked great. After months of everything working perfectly, a power outage shut down the machine for the first time since I inherited it.
After booting, my new user disappeared. It's not in the /etc/passwd file and there is no entry in the /home directory. I created the user the same as I did before, and there were no errors to indicate that the user still existed.
As requested, here is the output of
olduser@machine:~$ ls -lait /home total 16 3408126 drwxr-xr-x 2 newuser newuser 4096 Nov 20 10:28 newuser 3407873 drwxr-xr-x 4 root root 4096 Nov 20 10:28 . 3407874 drwxr-xr-x 36 coworker coworker 4096 Nov 20 10:00 bvillupu 2 drwxr-xr-x 26 root root 4096 Oct 3 2012 .. 3408259 lrwxrwxrwx 1 root root 44 Aug 9 2012 .directory -> /etc/kubuntu-default-settings/directory-home