Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Nov 2003 16:19:37 +0100
From:      Sander Smeenk <ssm+fbsd-questions@freshdot.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: migrating users
Message-ID:  <20031127151937.GB24772@freshdot.net>
In-Reply-To: <FF919147E378D411B3C300508B1046D302BC87DF@GOATS>
References:  <FF919147E378D411B3C300508B1046D302BC87DF@GOATS>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Vince Hoffman (Vince.Hoffman@uk.circle.com):
> > I'm going to move move my sendmail server to a new machine.
> > figure out is how to migrate the users (and keep the old passwords).
> > Does anyone know of a procedure to extract plain text passwords for
> > all users ?  Or maybe just pointers where to look.
> Either try john the ripper or similar password crackers. (ports or
> www.openwall.net)  

Why would you want to have the cleartext passwords for all users to be
able to migrate? What you could do is start 'vipw' as root on the
original server, save that file to disk under a different name, start
'vipw' on the new server, and read in the saved file, and save it again.

Next you'd have to make sure the groups are in tact. Either copy it
(/etc/group), or manually set it to the correct values.

That should do the trick. 
That is, IF your new server is a fresh FBSD install.

Sander.
-- 
| If peanut butter cookies are made from peanut butter, 
| then what are Girl Scout cookies made out of?
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8  9BDB D463 7E41 08CE C94D



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031127151937.GB24772>