[vchkpw] Re: vpopmail pasw encryption change..
Reinis Rozitis writes: > To be sure in that way if dont provide previously used salt (in the user > passwords which havent been added using 'vadduser') in crypt will the > authorization through pop work? > > Theoretically salt is the first 2 symbols, but will vpopmail (vchkpsw) > understand/use that? As I already told you, it uses the same underlying system crypt routines that passwd does. If you created your passwords using crypt, and the salt consists of valid salt characters, vchkpwd will understand them whether they are old-style DES or new-style MD5. These days vadduser and vpasswd will use the new-style MD5 crypt but vchkpw will copes with either (I'm not sure if it accepts some of the even newer crypt algorithms available on some systems: it's possible to code things so it's future proof and it's possible to code things so it's not). Of course, if you don't believe me, you could always try it and see... -- Paul Allen Softflare Support
Re: [vchkpw] Re: vpopmail pasw encryption change..
To be sure in that way if dont provide previously used salt (in the user passwords which havent been added using 'vadduser') in crypt will the authorization through pop work? Theoretically salt is the first 2 symbols, but will vpopmail (vchkpsw) understand/use that? - Original Message - From: "Paul L. Allen" <[EMAIL PROTECTED]> To: "Roze" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, November 03, 2003 8:09 PM Subject: [vchkpw] Re: vpopmail pasw encryption change.. > > Roze writes: > > > The idea is such: There is an existing user database which I have to move > > to a mailsystem (qmail + vpopmail + mysql). All the passwords are > > encypted (no way to get plain-text) (with standart CRYPT) though there > > is also SALT provided which is 2 first symbols from username. > > Just copy the crypted passwords over to the relevant field in the MySQL > database. Vpopmail uses standard unix crypt calls. The newer versions > of vpopmail will create MD5-crypted passwords instead of DES-crypted > passwords on systems that support it. Either style of crypted password > works. > > -- > Paul Allen > Softflare Support > > > > >
[vchkpw] Re: vpopmail pasw encryption change..
Roze writes: > The idea is such: There is an existing user database which I have to move > to a mailsystem (qmail + vpopmail + mysql). All the passwords are > encypted (no way to get plain-text) (with standart CRYPT) though there > is also SALT provided which is 2 first symbols from username. Just copy the crypted passwords over to the relevant field in the MySQL database. Vpopmail uses standard unix crypt calls. The newer versions of vpopmail will create MD5-crypted passwords instead of DES-crypted passwords on systems that support it. Either style of crypted password works. -- Paul Allen Softflare Support