Encrypting Passwords in a commandline Script
Hi,
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: Thanks Jan-Tajo :newbie: |
Jan-Tajo,
openssl passwd -stdin Make sure the openssl package is installed, but it probably is. ($ is the command line) $ echo test1|openssl passwd -stdin cIxaVCud2ZcI. Good Luck, chris |
All times are GMT -5. The time now is 03:16 AM. |