LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 05-15-2004, 08:50 AM   #1
podollb
Member
 
Registered: Oct 2003
Location: Grand Forks, ND
Distribution: Suse/Slackware/RH
Posts: 161

Rep: Reputation: 30
User id (needs changing)


I have 4 linux boxes that I have an account on that I have tried to cross mount home directories on and that worked. But now I am running into problems becuase all the machines don't have the same userid (uid) for my username and account. How can I fix this? Is there a simple way to remove my account and then add it again with the same uid on all machines? I am the only user on these machines so could I just copy a few of the passwd files around (or something like that too)?
 
Old 05-15-2004, 09:09 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Just change the ids in /etc/passwd and /etc/group to be the same on all machines. You will need to reset permissions on the users file and folders afterwards too.
 
Old 05-15-2004, 09:26 AM   #3
podollb
Member
 
Registered: Oct 2003
Location: Grand Forks, ND
Distribution: Suse/Slackware/RH
Posts: 161

Original Poster
Rep: Reputation: 30
Great thanks, I will give it a try...
 
  


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
Changing a User carlosinfl Linux - General 11 11-29-2005 02:25 PM
Changing User Info... rnturn LQ Suggestions & Feedback 4 12-26-2004 08:51 AM
Changing user scripts? Nerd2 Programming 12 05-22-2003 09:44 AM
changing the password of a user sadiboyz Linux - Newbie 2 04-21-2003 02:22 PM
Changing Mysql user? Ricardo77uk Programming 13 06-30-2001 05:48 PM


All times are GMT -5. The time now is 03:04 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration