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 edit summary
 
Line 4: Line 4:
  <encrypted password is output here>  
  <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.   
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.   


[[Category:Sysadmin]]
[[Category:Sysadmin]]

Latest revision as of 00:53, 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 '. 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.