LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Ubuntu 10.04 installs first user as UID 1001? (https://www.linuxquestions.org/questions/linux-software-2/ubuntu-10-04-installs-first-user-as-uid-1001-a-832862/)

brianpbarnes 09-17-2010 11:50 AM

Ubuntu 10.04 installs first user as UID 1001?
 
Hi,
I just did a new, complete install of Ubu 10.04, installed myself as the first and only user and it gave me a user ID of 1001. All of my old systems gave me 1000. Now, when I NFS mount my other systems, I see ownership by UID 1000 and I have permission problems.

I certainly was not given the ability to choose my own numeric user ID at install time, just full name, short name (login id, brianp) and password twice.

Is there a good reason to skip the old standard UID of 1000 for the primary user on new installs? I would rather have good old 1000. If I just login as root, hack the /etc/passwd file to give user 'brianp' a 1000 user id and then chown -R brianp /home/brianp/*, what will I destroy?

As a limp-around, they seem to have left the users group ID at 100 so I have just made me a member of users group and changed permissions to full for the members of the users group.

Is there a better way to do this?

Thank you,

BrianP

EricTRA 09-17-2010 12:10 PM

Hello,

Have a look at this link: http://www.cyberciti.biz/faq/howto-c...-user-name-id/.
Quote:

Any files which the user owns and which are located in the directory tree rooted at the user's home directory will have the file user ID changed automatically. Files outside of the user's home directory must be altered
manually.
Kind regards,

Eric


All times are GMT -5. The time now is 01:12 AM.