I want to know how can I create a encrypted password in Ubuntu 14.04 TLS. Tried this:makepasswd --crypt-md5 password_hereDid not worked for me throwing this Errorsysadmin@localhost:~$ makepasswd --crypt-md5 admin123makepasswd:  Non-argument options specified:  admin123makepasswd:  For more information, type:  makepasswd --helpI want to add those encrypted password in one of the installation so I need the way of doing it.
How to Create a Encrypted Password
password;encryption;passwd
# echo -n admin123 | makepasswd --crypt-md5 --clearfrom -admin123     $1$ZUNNSLzQ$XsViFC1bhucsr3f8AzMPt/As commented bellow this command is unsecure. True method - write password in file with text editor, and read password from file.