How to Create Encrypted Password: Difference between revisions

From DISI
Jump to navigation Jump to search
(created page on how to create encrypted passwords)
(No difference)

Revision as of 00:51, 13 July 2018

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 s. The encrypted password has '$'s which the shell will try to expand. If it does expand it, it will lead to a blank string taking the place.