Hash password

From wiki
Revision as of 18:14, 3 November 2022 by Mike (talk | contribs) (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>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

RHEL7

python -c 'import crypt,getpass; print crypt.crypt(getpass.getpass())'

RHEL8 python3 -c 'import crypt,getpass; print(crypt.crypt(getpass.getpass()))'