[vchkpw] Encrypt passwords like vpasswd

2004-02-19 Thread Radu Bighiu
How can i encrypt passwords with php or perl like vpasswd?

I whant to insert and change passwords from the web page dirctly in
MySQL vpopmail db via PHP or Perl script

Is this posible? What is encrypton algorithm or MD5 step for encryption?

Thanx!

P.S. Sorry for my enghish



RE: [vchkpw] Encrypt passwords like vpasswd

2004-02-19 Thread Shane Chrisp
http://www.cwispy.com/downloads.php?id=2

This is a small tool that I put together for someone else.
Feel free to modify it to suit your own needs. It will at
least show you some of whats possible. I wrote some extra
stuff for our own servers which if anyone wants a copy of
it, ill put it up for download as well.

Shane

-Original Message-
From: Radu Bighiu [mailto:[EMAIL PROTECTED] 
Sent: Friday, 20 February 2004 12:27 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Encrypt passwords like vpasswd

How can i encrypt passwords with php or perl like vpasswd?

I whant to insert and change passwords from the web page dirctly in
MySQL vpopmail db via PHP or Perl script

Is this posible? What is encrypton algorithm or MD5 step for 
encryption?

Thanx!

P.S. Sorry for my enghish





RE: [vchkpw] Encrypt passwords like vpasswd

2004-02-19 Thread Alejandro Aguilar Sierra
This php program works only for mysql auth. Is there anything else for
plain cb auth?

Thank you.

-- 
Alejandro Aguilar Sierra
[EMAIL PROTECTED]

On Fri, 20 Feb 2004, Shane Chrisp wrote:

 http://www.cwispy.com/downloads.php?id=2

 This is a small tool that I put together for someone else.
 Feel free to modify it to suit your own needs. It will at
 least show you some of whats possible. I wrote some extra
 stuff for our own servers which if anyone wants a copy of
 it, ill put it up for download as well.

 Shane

 -Original Message-
 From: Radu Bighiu [mailto:[EMAIL PROTECTED]
 Sent: Friday, 20 February 2004 12:27 AM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] Encrypt passwords like vpasswd
 
 How can i encrypt passwords with php or perl like vpasswd?
 
 I whant to insert and change passwords from the web page dirctly in
 MySQL vpopmail db via PHP or Perl script
 
 Is this posible? What is encrypton algorithm or MD5 step for
 encryption?
 
 Thanx!
 
 P.S. Sorry for my enghish
 
 



Re: [vchkpw] Encrypt passwords like vpasswd

2004-02-19 Thread Rick Widmer


Radu Bighiu wrote:

How can i encrypt passwords with php or perl like vpasswd?
crypt()

This does require your system so support md5 passwords for it to work in 
php.

   http://www.php.net/crypt


I whant to insert and change passwords from the web page dirctly in
MySQL vpopmail db via PHP or Perl script
It should be, but I don't use MySQL.

Is this posible? What is encrypton algorithm or MD5 step for encryption?


The salt value must start with $1$


Thanx!

P.S. Sorry for my enghish






RE: [vchkpw] Encrypt passwords like vpasswd

2004-02-19 Thread Shane Chrisp
You will probably want to check out qmailadmin if you want cdb
support.

http://sf.net/projects/qmailadmin 

and/or

vqadmin
http://sourceforge.net/projects/vqadmin

Shane

-Original Message-
From: Alejandro Aguilar Sierra [mailto:[EMAIL PROTECTED] 
Sent: Friday, 20 February 2004 12:34 AM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] Encrypt passwords like vpasswd

This php program works only for mysql auth. Is there anything else for
plain cb auth?

Thank you.

-- 
Alejandro Aguilar Sierra
[EMAIL PROTECTED]

On Fri, 20 Feb 2004, Shane Chrisp wrote:

 http://www.cwispy.com/downloads.php?id=2

 This is a small tool that I put together for someone else.
 Feel free to modify it to suit your own needs. It will at
 least show you some of whats possible. I wrote some extra
 stuff for our own servers which if anyone wants a copy of
 it, ill put it up for download as well.

 Shane

 -Original Message-
 From: Radu Bighiu [mailto:[EMAIL PROTECTED]
 Sent: Friday, 20 February 2004 12:27 AM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] Encrypt passwords like vpasswd
 
 How can i encrypt passwords with php or perl like vpasswd?
 
 I whant to insert and change passwords from the web page dirctly in
 MySQL vpopmail db via PHP or Perl script
 
 Is this posible? What is encrypton algorithm or MD5 step for
 encryption?
 
 Thanx!
 
 P.S. Sorry for my enghish