-   Linux - Newbie (
-   -   Encrypting Passwords in a commandline Script (

vendolis 08-22-2003 08:23 AM

Encrypting Passwords in a commandline Script

i am working to set up a Automatik Installation for RH 7.3 in the Kickstart File you are able to set the RootPW in an encryted form.
I am searching for a Script that takes a clear password from the stdin and gives back the encrypted one to the stdout.

Would be very cool if anyone has something like that or knows where I can find one. I am no real scripter.. i can modify some but since I don t know Perl or python I am not able to build up one by my self. :rolleyes:



bastard23 08-29-2003 12:29 AM


openssl passwd -stdin
Make sure the openssl package is installed, but it probably is. ($ is the command line)
$ echo test1|openssl passwd -stdin

Good Luck,

All times are GMT -5. The time now is 12:51 PM.