Encrypt Password (genpassword)

Posted by dakshesh33 on 18-Sep-2016 04:25

Has anyone tried genpassword utility? 

I've created a "temp" user with password "temp" in database and i am trying to connect with below command.

$>genpassword -password temp

$>24372237

$>pro -db <dbname> -U temp -P oech1::24372237

i even tried with quotation mark.

$>pro -db <dbname> -U temp -P "oech1::24372237"

It's giving error "** Your Password and UserId temp do not match. (710)"

Posted by dakshesh33 on 18-Sep-2016 05:02

thanks sai.

Just read one ProKb. I am trying in wrong environment. It'll only work with OpenEdge11.x not on progress9.x and openedge10.x

All Replies

Posted by Sai Tharun Kollampally on 18-Sep-2016 04:35

The genpassword works perfectly. It is giving you an error because you are trying to give the encrypted password but the system accepts it as the plain text. So if you use genpassword for temp  then while accessing the user using username and password you need to give the actual password but not the encrypted one.

Syntax:

pro -db <dbman> -U <uname> -P <password in plain text>

try this:

$>pro -db <dbname> -U temp -P "oech1::temp"

                       or

$>pro -db <dbname> -U temp -P temp

Posted by dakshesh33 on 18-Sep-2016 04:56

It's not working. I am trying on OE10.2B, OE10.1C and 10.B

Posted by dakshesh33 on 18-Sep-2016 05:02

thanks sai.

Just read one ProKb. I am trying in wrong environment. It'll only work with OpenEdge11.x not on progress9.x and openedge10.x

Posted by Sai Tharun Kollampally on 18-Sep-2016 05:38

Oh no worries, I also haven't checked the version. I will try to answer the upcoming questions with more care.

This thread is closed