[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: migrating users from redhat to debian without changing their passwords



On Fri, Oct 07, 2005 at 11:40:44AM +0100, Jon Dowland wrote:
> On Thu, Oct 06, 2005 at 08:05:59PM +0000, Andrew M.A. Cater wrote:
> > Check carefully: I know that Debian starts its "real users" at user id
> > 500,501,502 ... . I'm not sure if Redhat uses the same numbering.
> 
> 1000 for me... Mandr{iva,ake} starts at 500 or 501 I believe, most
> others at 1000.
> 
My mistake: 1000 is correct.
> > If you are not careful, you get "real users" under RedHat which are
> > "system/daemon users" under Debian or vice versa.  Type shadowconfig
> > off on the RedHat box - that leaves you with everything in /etc/passwd
> > file.  Migrate that. Edit as appropriate.
> 
> Surely the passwd file won't "just work" - it doesn't contain the salts
> etc. to generate the password?
> 
shadowconfig off 

will put all that information _back_ into the /etc/passwd file

shadowconfig on

when you've finished edits will create the normal /etc/passwd
and /etc/shadow files

Andy

> -- 
> Jon Dowland
> http://jon.dowland.name/




Reply to: