LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-17-2010, 11:50 AM   #1
brianpbarnes
Member
 
Registered: Dec 2005
Posts: 143

Rep: Reputation: 15
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
 
Old 09-17-2010, 12:10 PM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Change UID for a user ... things to consider j-me Linux - Newbie 5 03-04-2010 01:27 PM
Unprivileged user uid gabsik Linux - Security 3 02-19-2009 08:25 AM
User who owns file is 1001 instead of root hi_w_50 Linux - General 7 08-14-2007 12:33 PM
read uid of a last user dhanabalanb Programming 1 07-28-2007 03:32 AM
How to add a user with UID =500 KWTm Ubuntu 1 10-29-2005 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration