From owner-freebsd-questions Tue Mar 28 0:46: 1 2000 Delivered-To: freebsd-questions@freebsd.org Received: from web1603.mail.yahoo.com (web1603.mail.yahoo.com [128.11.23.203]) by hub.freebsd.org (Postfix) with SMTP id E783337BA3C for ; Tue, 28 Mar 2000 00:45:57 -0800 (PST) (envelope-from manhtho@yahoo.com) Received: (qmail 9063 invoked by uid 60001); 28 Mar 2000 08:45:57 -0000 Message-ID: <20000328084557.9062.qmail@web1603.mail.yahoo.com> Received: from [210.230.225.11] by web1603.mail.yahoo.com; Tue, 28 Mar 2000 00:45:57 PST Date: Tue, 28 Mar 2000 00:45:57 -0800 (PST) From: Nguyen Manh Tho Subject: Asking about the crypt function To: questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear Sir / Madam, Would you help me, please? I've just installed FreeBSD 3.3 and now I want to move all the users of my old system, Window NT, to FreeBSD so that preserving all users' passwords. I found that I can use the crypt(string,salt) function of Perl to encrypt the passwords to the NBS Data Encryption Standard (DES), as the same way as FreeBSD's CRYPT(3) does. I made a script to encrypt the passwords (in cleartext form) to DES form , tested it in FreeBSD , and suceeded. I think I can use that script for my aim. But I still have some questions because I didn't know about the crypt function before and I'm still a newbie in FreeBSD. The first one is whether the encrypted passwords from the crypt function are really security like the passwords made by FreeBSD , and it will compatible with the YP/NIS interaction? Another question is Can I specify any two characters for the salt parameter? Please help me as soon as possible. Thanks you very much in advance. Nguyen Manh Tho __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message