This shows you the differences between two versions of the page.
|
generate_hashed_password_string [2013/05/03 07:30] root |
generate_hashed_password_string [2013/11/14 09:27] (current) root |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| # openssl passwd -1 <strongpassword> | # openssl passwd -1 <strongpassword> | ||
| Where the parameter <strongpassword> is the password in clear text. | Where the parameter <strongpassword> is the password in clear text. | ||
| - | Output will be a md5 hased string like this: | + | Output will be a md5 hashed string like this: |
| $1$t/Y0/ENi$PccO/XwuuZb4q/uhfh4Yf0 | $1$t/Y0/ENi$PccO/XwuuZb4q/uhfh4Yf0 | ||
| + | | ||
| + | For RHEL6 following python code can be used: | ||
| + | # python -c "import crypt; print crypt.crypt('secretpassword')" | ||
| + | Strongest possible hashing algorithm - SHA512 will be used | ||