Hash password: Difference between revisions
From wiki
Jump to navigationJump to search
Created page with "RHEL7 <code>python -c 'import crypt,getpass; print crypt.crypt(getpass.getpass())'</code> <br> <br> RHEL8 <code>python3 -c 'import crypt,getpass; print(crypt.crypt(getpass.getpass()))'</code>" |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
<br> | <br> | ||
<br> | <br> | ||
RHEL8 | RHEL8 | ||
<code>python3 -c 'import crypt,getpass; print(crypt.crypt(getpass.getpass()))'</code> | <code>python3 -c 'import crypt,getpass; print(crypt.crypt(getpass.getpass()))'</code> |
Latest revision as of 18:15, 3 November 2022
RHEL7
python -c 'import crypt,getpass; print crypt.crypt(getpass.getpass())'
RHEL8
python3 -c 'import crypt,getpass; print(crypt.crypt(getpass.getpass()))'