How to Create Encrypted Password

From DISI
Revision as of 00:53, 13 July 2018 by Benrwong (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Create encrypted password with:

# openssl passwd -1 -salt salt 
Password:  <insert password>  
<encrypted password is output here> 

If you paste this encrypted password anywhere, make sure to surround it with '. The encrypted password has dollar signs $ which the shell will try to expand. If it does expand it, it will lead to a blank string taking its place.