public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
* preserving logins
@ 2005-06-30 17:52 Karthik Vishwanath
  2005-06-30 18:19 ` Spack
  2005-06-30 21:40 ` Ulrich Fürst
  0 siblings, 2 replies; 6+ messages in thread
From: Karthik Vishwanath @ 2005-06-30 17:52 UTC (permalink / raw)
  To: linux-newbie

Hello,

I have a dual-boot (windows, linux) machine that runs Redhat 9.0. There
are two physical drives hda and hdb - the linux partition resides on hdb
(/boot - hdb1, / - hdb2, /home - /hdb3). I plan to install debian on hda
now (blowing away the windoze partition completely), but want to retain
the same logins/uids/gids for all the users from the Redhat installation.  
How can I do this?

Thanks,

-K


--------------
"Results! Why, man, I have gotten a lot of results. I know several thousand 
things that won't work." - Thomas Edison

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: preserving logins
  2005-06-30 17:52 preserving logins Karthik Vishwanath
@ 2005-06-30 18:19 ` Spack
  2005-06-30 21:09   ` Ulrich Fürst
  2005-06-30 21:40 ` Ulrich Fürst
  1 sibling, 1 reply; 6+ messages in thread
From: Spack @ 2005-06-30 18:19 UTC (permalink / raw)
  To: linux-newbie

I don't think it's a good idea because it's can occur some problems
due to the different between that two distributions... It's preferable
to have distinct files for all users but they can be in the same
partition...
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: preserving logins
  2005-06-30 18:19 ` Spack
@ 2005-06-30 21:09   ` Ulrich Fürst
  0 siblings, 0 replies; 6+ messages in thread
From: Ulrich Fürst @ 2005-06-30 21:09 UTC (permalink / raw)
  To: linux-newbie

Spack <spack.world@gmail.com> wrote: 
> I don't think it's a good idea because it's can occur some problems
> due to the different between that two distributions... It's preferable
> to have distinct files for all users but they can be in the same
> partition...

If you have documents that you want to be able to edit either from RH or
Debian you have to have the same uid on both systems. I agree with you,
that there could be some problems using the same home directories
however. 

Ulrich
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: preserving logins
  2005-06-30 17:52 preserving logins Karthik Vishwanath
  2005-06-30 18:19 ` Spack
@ 2005-06-30 21:40 ` Ulrich Fürst
  2005-06-30 21:58   ` Karthik Vishwanath
  1 sibling, 1 reply; 6+ messages in thread
From: Ulrich Fürst @ 2005-06-30 21:40 UTC (permalink / raw)
  To: linux-newbie

Karthik Vishwanath <karthikv@Alum.Dartmouth.ORG> wrote: 

> I want to retain the same logins/uids/gids for all the
> users from the Redhat installation.   How can I do this?

I don't know RH so I don't know which uid/gid the users/groups have.
For Debian the user IDs normaly begin with 1000. 

You could add new users in Debian with: 
# adduser --uid $UID_FROM_RH $USER
without problems. You can take every UID that isn't in use by the system
already. (Didn't test it with uid lower than one hundred).

There's another limit at 100. AFAIK below 100 the system groups and
above groups from programs such as exim, spamassassin an so on.
Sorry, can't find the exact rule for that at the moment.


Ulrich
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: preserving logins
  2005-06-30 21:40 ` Ulrich Fürst
@ 2005-06-30 21:58   ` Karthik Vishwanath
  2005-07-01  2:40     ` Ray Olszewski
  0 siblings, 1 reply; 6+ messages in thread
From: Karthik Vishwanath @ 2005-06-30 21:58 UTC (permalink / raw)
  To: linux-newbie

Since there are fair number of other users than myself on this machine, I
want to keep the same /home partition, under either system. Is it possible
for me to use the same passwd/shadow files on either system, and expect
compatibility (if so, which are the files to be copied) or must I ask
every old user to re-create their passwds? (I can do that, if its the
easiesr route, which is a relative measure!)

Thanks,

-K 

On Thu, 30 Jun 2005, Ulrich [ISO-8859-15] Fürst wrote:

> Karthik Vishwanath <karthikv@Alum.Dartmouth.ORG> wrote: 
> 
> > I want to retain the same logins/uids/gids for all the
> > users from the Redhat installation.   How can I do this?
> 
> I don't know RH so I don't know which uid/gid the users/groups have.
> For Debian the user IDs normaly begin with 1000. 
> 
> You could add new users in Debian with: 
> # adduser --uid $UID_FROM_RH $USER
> without problems. You can take every UID that isn't in use by the system
> already. (Didn't test it with uid lower than one hundred).
> 
> There's another limit at 100. AFAIK below 100 the system groups and
> above groups from programs such as exim, spamassassin an so on.
> Sorry, can't find the exact rule for that at the moment.
> 
> 
> Ulrich
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
> 

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: preserving logins
  2005-06-30 21:58   ` Karthik Vishwanath
@ 2005-07-01  2:40     ` Ray Olszewski
  0 siblings, 0 replies; 6+ messages in thread
From: Ray Olszewski @ 2005-07-01  2:40 UTC (permalink / raw)
  To: linux-newbie

Karthik Vishwanath wrote:
> Since there are fair number of other users than myself on this machine, I
> want to keep the same /home partition, under either system. Is it possible
> for me to use the same passwd/shadow files on either system, and expect
> compatibility (if so, which are the files to be copied) or must I ask
> every old user to re-create their passwds? (I can do that, if its the
> easiesr route, which is a relative measure!)
[...]

This is a difficult question to give you a definitive answer to.

If RH and Debian use compatible password encryption, you can simply tuck 
the RH /etc/passwd and /etc/shadow files someplace safe, then do the 
Debian install, letting it creates its own, new /etc/passwd and 
/etc/shadow files. Then you just cut and paste the user-level entries 
(the ones about 1000, if RH follows the same numbering convention that 
Debian does) from your tucked-away RH files into the corresponding 
Debian files.

But I didn't even notice what version of RH you said you were using, so 
I don't know if the encryption mechanisms will match.

As someone else already explained, you really do want to let Debian 
create the system accounts for you. Conventions on these accounts drift 
a bit over time, and I would have no real confidence that an unknown 
version of RH and any current version of Debian use perfectly matching 
conventions.



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-07-01  2:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-30 17:52 preserving logins Karthik Vishwanath
2005-06-30 18:19 ` Spack
2005-06-30 21:09   ` Ulrich Fürst
2005-06-30 21:40 ` Ulrich Fürst
2005-06-30 21:58   ` Karthik Vishwanath
2005-07-01  2:40     ` Ray Olszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox