Re: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database

2003-11-07 Thread Anders Brander
Hejsa, On Fri, 2003-11-07 at 00:21, Tom Collins wrote: Narrowing the possible scope for each letter to 64 from some larger group but increasing the entropy that goes into selecting each character seems like a good idea to me. Remember that we're only selecting 8 random characters --

Re: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database

2003-11-07 Thread Tom Collins
On Friday, November 7, 2003, at 06:54 PM, Anders Brander wrote: Making use of /dev/urandom and/or /dev/random will be high on our priority list for the 5.5 development series. You wan't patches? That would be a nice project for little me... Yep, if you can come up with a patch that checks for the

Re: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database

2003-11-06 Thread Tom Collins
On Tuesday, November 4, 2003, at 05:40 AM, Nick Harring wrote: Actually, this is already a right place to put this, which is in randltr. Oddly that's what's used for generating the salt, but not what's used for generating the password. Instead the password just uses an ugly rand call. I'd

Re: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database

2003-11-06 Thread Nick Harring
Tom Collins wrote: On Tuesday, November 4, 2003, at 05:40 AM, Nick Harring wrote: Actually, this is already a right place to put this, which is in randltr. Oddly that's what's used for generating the salt, but not what's used for generating the password. Instead the password just uses an

Re: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database

2003-11-06 Thread Tom Collins
On Friday, November 7, 2003, at 02:27 AM, Nick Harring wrote: I'd even consider modifying the random password generator to not use letters that can be confused with each other (1/I/l and 0/O). That'd be foolish in the extreme. If the user, or administrator, wants passwords that are easy to

Re: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database

2003-11-03 Thread Tom Collins
On Tuesday, October 28, 2003, at 02:42 AM, Paul L. Allen wrote: Ummm, some quick digging later and the situation is worse than I thought. Not only does vpopmail use rand(), it initializes srand with a variant of time(NULL) ^ getpid(). time(NULL) ^ getpid() has long been known to not be a good

Re: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database

2003-11-03 Thread Nick Harring
Tom Collins wrote: On Tuesday, October 28, 2003, at 02:42 AM, Paul L. Allen wrote: Ummm, some quick digging later and the situation is worse than I thought. Not only does vpopmail use rand(), it initializes srand with a variant of time(NULL) ^ getpid(). time(NULL) ^ getpid() has long been

Re: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database

2003-11-03 Thread Nick Harring
Nick Harring wrote: This is the Right Thing imho. It might be easier though to move the srandom()/random() and new reads from /dev/urandom into a function of its own, rather than replacing them whereever they're sprinkled through the code. I realize that's even more work, but its probably

RE: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database

2003-10-27 Thread Shane Chrisp
: Paul L. Allen [mailto:[EMAIL PROTECTED] Sent: Monday, 27 October 2003 10:08 PM To: [EMAIL PROTECTED] Subject: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database Oliver Etzel - GoodnGo.COM \(R\) writes: I want to create new users like [EMAIL PROTECTED

Re: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database

2003-10-27 Thread Oliver Etzel - GoodnGo.COM \(R\)
Etzel - GoodnGo.COM (R) [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, October 27, 2003 6:47 AM Subject: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database Oliver Etzel - GoodnGo.COM \(R\) writes: I want to create new users like [EMAIL PROTECTED

Re: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database

2003-10-27 Thread Oliver Etzel - GoodnGo.COM \(R\)
Hello Paul, hello all, Paul: The reason why I do NOT want vadduser or any commandline tool is that I want to write a perl script which automatize user generation. Cool would would be If one could run: vadduser $variable_password or something like this in Perl or PHP code! Regs, Oliver Etzel

Re: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database

2003-10-27 Thread isp
You can do with with Perl's system or exec calls, and I'm sure that PHP has equivalent calls as well. Just call the binary from your script. Why not use the product as its architected? Sheez! Hello Paul, hello all, Paul: The reason why I do NOT want vadduser or any commandline tool is

Re: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database

2003-10-27 Thread Nick Harring
Paul L. Allen wrote: Oliver Etzel - GoodnGo.COM \(R\) writes: I want to create new users like [EMAIL PROTECTED] NOT with vadduser BUT with just inserting it via mysql-insert into the vpopmail database. OK, you have now explained what you want to use instead. Somebody

Re: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database

2003-10-27 Thread John Johnson
] To: John Johnson [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, October 27, 2003 7:13 AM Subject: Re: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database Hello John, what exactly is the learn password option? Oliver He can also enable the learn password option

Re: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database

2003-10-27 Thread John Johnson
Johnson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, October 27, 2003 7:14 AM Subject: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database John Johnson writes: He can also enable the learn password option in vpopmail, I think this would be an easy way

Re: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database

2003-10-27 Thread Oliver Etzel - GoodnGo.COM \(R\)
Hello Paul, hello all, Oh my god, that is what I was looking for! Thank you very much. I thought I couldnĀ“t write it all in one commandline, like you Paul showed us. Now I write my perl-script for automation. Thank you ALL. vadduser has always allowed the plaintext password to be specified on

Re: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database

2003-10-27 Thread GoodnGo.de \(R\) Zentrale
Message - From: Paul L. Allen [EMAIL PROTECTED] To: Oliver Etzel - GoodnGo.COM (R) [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, October 27, 2003 6:47 AM Subject: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database Oliver Etzel

Re: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database

2003-10-27 Thread Oliver Etzel - GoodnGo.COM \(R\)
Hello Rainer, a perl-module for vpopmail. YES. Is it in CPAN? How is it called? Oliver Also, there is also a PERL-module for vpopmail ! It exposes almost all commands via an API. And if that isn't enought, you can compile PHP with vpopmail-support. cheers, Rainer

Re: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database

2003-10-27 Thread John Johnson
It's in CPAN. Just do a search for vpopmail in CPAN and you will find it. -John - Original Message - From: Oliver Etzel - GoodnGo.COM (R) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 27, 2003 7:36 AM Subject: Re: [vchkpw] Re: Inserting new users via mysql-insert