LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices



Reply
 
Search this Thread
Old 10-30-2006, 01:32 AM   #1
claytonjohnroby
LQ Newbie
 
Registered: Oct 2006
Posts: 19

Rep: Reputation: 0
Setting up users in a multiboot environment.


I have Gentoo, CentOS, Mandriva, Debian, Ubuntu and Suse installed on one machine. I was wondering how others have managed user accounts in such an environment.

Since it is my own personal computer and I am its only user what I have done is to create a user directory in /home and then add a user in each distribution with the directory /home/username/<distribution>user

So when I log into gentoo as username my home directory is /home/username/gentoouser/
When I log into debian as username my home directory is /home/username/debianuser/
The skel for each distribution gets put into its own directory so I have .gnome .kde .bashrc in each of the distributionuser directories.

When I use mozilla I want to be able to use the same config directory so I setup a .mozilla directory in /home/username and then provide softlinks to this from each of the distribution specific directories.

I can do this for .xchat2 and .vimrc and a lot of other config directories that are not too distribution dependant.

I also have to be careful when constructing the user and group entries in /etc/passwd and /etc/group so that each user per distribution has the correct home directory and has corresponding User IDs and Group IDs.

How have others managed this situation and does anyone know of any user management tools for such an environment to make this process easier and less error prone.
 
Old 10-30-2006, 02:20 AM   #2
greeklegend
Member
 
Registered: Feb 2006
Location: At a computer
Distribution: Ubuntu 7.04, LFS 6.3 rc1 (living dangerously ;), Windows XP
Posts: 75

Rep: Reputation: 15
Is having your home dir as a seperate partition and mounting it as /home/username in all of the os's an option?
 
Old 10-30-2006, 07:31 AM   #3
claytonjohnroby
LQ Newbie
 
Registered: Oct 2006
Posts: 19

Original Poster
Rep: Reputation: 0
You can have you home directory on a separate partition. You can partition you home directory across as many disks as you need. Schools can have separate partitions for teachers and students ie /home/teachers/teacher1 and /home/students/student1 with students and teachers on different physical disks. All unix type operating systems can do this.
 
  


Reply

Tags
management, multiboot, user


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
environment variable setting chii-chan Linux - General 5 01-23-2009 08:29 PM
Prodtecting users in an Apache hosting environment wayloud Linux - Server 0 10-03-2006 01:25 PM
Setting up the environment Mathiasdm Linux From Scratch 4 04-09-2006 09:58 AM
Environment variables setting... simjii Suse/Novell 4 11-19-2005 08:50 PM
Setting environment variables for all users? Ham1am Solaris / OpenSolaris 5 05-03-2005 10:18 AM


All times are GMT -5. The time now is 09:18 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration