How to Creates the /etc/httpd/passwords File and Configures a Password for Apache User?

Questions :
What command to creates the /etc/httpd/passwords file and configures a password for Apache Httpd user ?

Answers :
The command that creates the /etc/httpd/passwords file is :

[root@server ~]# htpasswd -c /etc/httpd/passwords ehowstuff

Assume that the username is ehowstuff.

If /etc/httpd/passwords already exists, the command to configures a password for Apache user ehowstuff is :

[root@server ~]# htpasswd ehowstuff

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>