LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-24-2005, 07:10 PM   #1
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 12 LXDE
Posts: 555

Rep: Reputation: 33
Users & passwords in shared /home partition


I'm thinking of putting a second distro onto my hardrive so that I can play about without knobbling my Slack 10 setup. I have a separate /home partition which I could share between the two distros. My question is, would I have to use the same user names and passwords in both distros for this to work?

Last edited by mikieboy; 02-24-2005 at 07:11 PM.
 
Old 02-24-2005, 07:26 PM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
You can chose any passwords freely. Using same usernames is not strictly necessary, but makes a lot of sense. Same userIDs is a good thing, or else the permissions and ownerships of the files doesn't match between the systems.

Easy way to archieve this is to copy /etc/passwd and /etc/group (or critical lines from there) to your new system. To get passwords too, copy also /etc/shadow.
 
  


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
moving /home /root & /var to new partition CrashedAgain Linux - General 8 11-24-2005 11:44 AM
two dists, shared /home partition kenneho Linux - Distributions 5 08-03-2005 03:25 AM
shared home partition Big Harry Linux - Newbie 4 06-06-2004 12:29 PM
Logon screen, Users & Passwords. DLM Slackware 7 12-14-2003 03:06 PM
NIS & same home dir's for users collen Linux - Networking 1 12-05-2003 11:44 PM


All times are GMT -5. The time now is 10:56 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration