installing multuple distributions

installing multuple distributions

am 06.02.2009 08:55:28 von pol



I would like to test several distributions (say
kubuntu,mandriva,suse,arklinux) without changing my working place, when
switching from one to the other.
So / /boot /usr /var of each distribution should be on the same partition,
while the /home partition should be shared among all.
Do you think that share /home would give rise to any inconsistencies?

Probably i should make sure that /etc/passwd and /etc/groups are the same in
all distributions.
Do you think it would work?

Thank you
Pol



--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: installing multuple distributions

am 06.02.2009 12:00:36 von adamb

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig8458BAF29262BC84DDD4BE9F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Hi,

Pol wrote:
> I would like to test several distributions (say
> kubuntu,mandriva,suse,arklinux) without changing my working place, when=

> switching from one to the other.=20
> So / /boot /usr /var of each distribution should be on the same partiti=
on,
> while the /home partition should be shared among all.
> Do you think that share /home would give rise to any inconsistencies?

No, it should be fine. The only thing to look out for is the use of dot
files in your home directory for configuration of different version of
applications on the different distros. If, for instance, you are trying
out gnome, and the distros have different versions of the various
components that make up gnome, then you might find things "acting
weirdly". I remember having a nightmare with the .gconf configuration
files between different versions. If things start acting up, deleting
these config directories might sort things out.

> Probably i should make sure that /etc/passwd and /etc/groups are the sa=
me in
> all distributions.
> Do you think it would work?

Be careful if you intend to merge the different passwd and group files
because different distros may use different default IDs for system
accounts. A fun, but maybe slightly complicated way of doing this, would
be to store your user accounts in LDAP and have the LDAP data files on a
shared partition (/home would do). Make sure all the system users (UID <
100) are stored in each distribution's local /etc/passwd file and set up
your nsswitch.conf so that it reads files and then ldap. Of course if
you are only going to have one user account, then this is *way* over the
top (but it would certainly teach you a lot about LDAP based
authentication).

Hope you enjoy yourself!

Adam


--------------enig8458BAF29262BC84DDD4BE9F
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJjBhZfNJVASeK9ugRAm//AJ93EKW9S1gtA5oxa2vZ0wq+o/D0fwCg hszn
EMigxsd3h9Y9hp5w3Ac3gQw=
=Hxw2
-----END PGP SIGNATURE-----

--------------enig8458BAF29262BC84DDD4BE9F--
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: installing multuple distributions

am 07.02.2009 03:00:27 von Yuri Csapo

Pol,

Yes, it would certainly work. The important files to look at are, as you
said, /etc/passwd and /etc/group; but also /etc/shadow. I don't think
it's a good idea to make them the same because different distros will
have different ways of doing things and different required
administrative users and groups; things like lp, admin, etc. All you
need to do is make sure that your own user entry (and those of other
users of the system) has the same UID and belongs to the same primary
group, which should have the same GID. Also, I'd make the passwords the
same across the distros just to keep sane... Good luck!

Yuri

Pol wrote:
>
>
> I would like to test several distributions (say
> kubuntu,mandriva,suse,arklinux) without changing my working place, when
> switching from one to the other.
> So / /boot /usr /var of each distribution should be on the same partition,
> while the /home partition should be shared among all.
> Do you think that share /home would give rise to any inconsistencies?
>
> Probably i should make sure that /etc/passwd and /etc/groups are the same in
> all distributions.
> Do you think it would work?
>
> Thank you
> Pol
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256
Phone: (303) 273-3503
Fax: (303) 273-3475
Email: ycsapo@mines.edu

Please use the following link to open a service request:
http://helpdesk.mines.edu
===========================================
With a PC, I always felt limited
by the software available.
On Unix, I am limited only by my knowledge.
--Peter J. Schoenster
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

[--tech--]Re: installing multuple distributions

am 09.02.2009 09:46:12 von pol



Yuri Csapo wrote:

> Pol,
>
> Yes, it would certainly work. The important files to look at are, as you
> said, /etc/passwd and /etc/group; but also /etc/shadow. I don't think
> it's a good idea to make them the same because different distros will
> have different ways of doing things and different required
> administrative users and groups; things like lp, admin, etc. All you
> need to do is make sure that your own user entry (and those of other
> users of the system) has the same UID and belongs to the same primary
> group, which should have the same GID. Also, I'd make the passwords the
> same across the distros just to keep sane... Good luck!

yes, i realise /etc/passwd and /etc/group might contain
distribution-specific details
thank you

--P

--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: installing multuple distributions

am 09.02.2009 09:57:22 von pol

Adam T. Bowen wrote:

> Be careful if you intend to merge the different passwd and group files
> because different distros may use different default IDs for system
> accounts. A fun, but maybe slightly complicated way of doing this, would
> be to store your user accounts in LDAP and have the LDAP data files on a
> shared partition (/home would do). Make sure all the system users (UID <
> 100) are stored in each distribution's local /etc/passwd file and set up
> your nsswitch.conf so that it reads files and then ldap. Of course if
> you are only going to have one user account, then this is *way* over the
> top (but it would certainly teach you a lot about LDAP based
> authentication).

I am not a professional. Is there an easy way to try ldap?
thank you
--P


--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: installing multuple distributions

am 09.02.2009 12:37:06 von urgrue

Pol wrote:
> Adam T. Bowen wrote:
>
>> Be careful if you intend to merge the different passwd and group files
>> because different distros may use different default IDs for system
>> accounts. A fun, but maybe slightly complicated way of doing this, would
>> be to store your user accounts in LDAP and have the LDAP data files on a
>> shared partition (/home would do). Make sure all the system users (UID <
>> 100) are stored in each distribution's local /etc/passwd file and set up
>> your nsswitch.conf so that it reads files and then ldap. Of course if
>> you are only going to have one user account, then this is *way* over the
>> top (but it would certainly teach you a lot about LDAP based
>> authentication).
>
> I am not a professional. Is there an easy way to try ldap?
> thank you
> --P

LDAP is, despite the name (Lighweight Directory Access Protocol) not
very "lightweight". Unless you already have active directory (which is
basically just ldap), I would consider something a bit simpler like
NIS+. NIS+ is pretty antiquated but if all you want is to share
passwd/group/etc information, it might be an option to consider.
There are other options too, such as Hesiod, but i havent them.


--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [--tech--]Re: installing multuple distributions

am 10.02.2009 10:57:48 von Mateusz Marzantowicz

On Mon, 2009-02-09 at 09:46 +0100, Pol wrote:
>
>
> Yuri Csapo wrote:
>
> > Pol,
> >
> > Yes, it would certainly work. The important files to look at are, as you
> > said, /etc/passwd and /etc/group; but also /etc/shadow. I don't think
> > it's a good idea to make them the same because different distros will
> > have different ways of doing things and different required
> > administrative users and groups; things like lp, admin, etc. All you
> > need to do is make sure that your own user entry (and those of other
> > users of the system) has the same UID and belongs to the same primary
> > group, which should have the same GID. Also, I'd make the passwords the
> > same across the distros just to keep sane... Good luck!
>
> yes, i realise /etc/passwd and /etc/group might contain
> distribution-specific details
> thank you

.... as well as other files in /etc directory. I think it'd be good idea
to have /etc unshared between your Linux distros.

Things that could possibly be problematic when sharing /etc are:
- passwd and group (as mentioned)
- boot scripts in rcN.d and init.d
- PAM configuration (if any is present, but most of Linux distros uses
it)
- other common system config (you'll need to merge all common files
which may be different in various Linux distros)


--
Mateusz Marzantowicz

--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: installing multuple distributions

am 11.02.2009 10:51:22 von Glynn Clements

Pol wrote:

> Probably i should make sure that /etc/passwd and /etc/groups are the same in
> all distributions.
> Do you think it would work?

Your user accounts should have the same UID/GID if you are planning on
using a common /home partition.

However, you shoudn't modify the system UIDs/GIDs. Bear in mind that
the filesystem stores numeric UID/GID, not user/group names. If you
change the UIDs/GIDs in the passwd and group files, files and
directories will have the wrong owner. Some configuration files may
also use numeric UIDs/GIDs.

--
Glynn Clements
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html