Date: Thu, 27 Nov 2003 16:31:05 +0100 From: Rob Evers <rob@debank.tv> To: freebsd-questions@freebsd.org Cc: Sander Smeenk <ssm+fbsd-questions@freshdot.net> Subject: Re: migrating users Message-ID: <3FC618B9.2020102@debank.tv> In-Reply-To: <20031127151937.GB24772@freshdot.net> References: <FF919147E378D411B3C300508B1046D302BC87DF@GOATS> <20031127151937.GB24772@freshdot.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Sander Smeenk wrote: >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. > > The problem is I need to put the users in a database (virtual mail users). So I need to crypt the passwords with the database crypt function. Rob -- "Those who don't read have no advantage over those who can't" -Mark Twain
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FC618B9.2020102>