View Full Version : [ubuntu] User not appearing in gdm screen after UID change

May 23rd, 2010, 11:24 PM
Hi, I'm new to the forums. I just bought a Macbook Pro and after installing ubuntu, I wanted to view my OSX files. So I go into the folder in nautilus and lo and behold, I don't have the permissions. So I find out it belongs to UID 501 (my OSX user id) and I decide to change my ubuntu UID to match it so I can view them without having to play chown tug-of-war. After I change my UID with usermod, everything works except for my login screen. Now I can still log in, but I have to manually type in my username and then password instead of my username showing up in the gdm menu. Any help to fix this would be much appreciated.

July 7th, 2010, 03:55 AM
I had the same problem after changing my uid to match an LDAP account stored on my NAS box. It turned out to be a setting in the file /etc/login.defs.

Simply edit the the file (sudo vi /etc/login.defs or sudo gedit /etc/login.defs) and change the following from:

UID_MIN 1000
GID_MIN 1000



Log out and you should see your user in the list.