PDA

View Full Version : [TCL]sha1


jeza
02-03-2005, 09:59 AM
is there a way to see real passwd of user

with tcl script that decrypt users passwd

i want to make a users update script that auto add all users to new site in ring
and i need real passwd of user because script uses ftp connection to new site and adds users trough site gadduser ....

esmandil
02-03-2005, 10:21 AM
The whole idea of encrypting passwords is that they cannot be decrypted... so no, there is no such script.

ADDiCT
02-03-2005, 11:36 AM
U could make an extra "site setpasswordhash 101 xxxxxxxxx" command that sets the SHA1 encrypted password for userid 101. (write it literally to the userfile)

Send that command after adding the user with "site gadduser"
(Preferably over an encrypted connection :))

jeza
02-03-2005, 12:35 PM
i think i iwll set random pass on site gadduser when updating userdb to one site and users can than change it on HUB