Htpasswd is a tool used to manipulate flat files containing usernames and passwords for basic authentication of HTTP. In Cent OS
yum install httpd-tools
After entering the command you will see a result similar to the one shown below:

To verify that htpasswd is installed you can enter the following command:
htpasswd -h
If everything is OK you will see help of the command:

Was this article helpful?
If you have any suggestions or questions, please leave a comment below.
Leave A Comment