How to Create Encrypted Password

From DISI
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.