What does htpasswd do?
Answers were Sorted based on User's Feedback
Answer / jimmy
what kind answer are these?
you guys just make a guest?
htpasswd is used to create and update the flat-files used
to store usernames and password for basic authentication of
HTTP users. If htpasswd
cannot access a file, such as not being able to write
to the output file or not being able to read the file in
order to update it, it returns
an error status and makes no changes.
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / krishna
htpasswd is used for allowing user to authenticate for a
particular web page. such as you are running 2 or more web
pages through virtual hosting or any other method and want
to provide access for any user to access a particular page
with authentication then you can use the htpasswd for
creating user authentication file. when you run the command
htpasswd with the option -c and -m for any user it will
create a file named htpasswd in which an entry for user name
and encrypted passswd will create.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / abhay
It creates a new user in a specified group, and asks to
specify a password for that user.
| Is This Answer Correct ? | 2 Yes | 2 No |
How and why was Apache created?
What we can do to find out how people are reaching your site?
Is apache an open source?
What port is apache listening on?
How to use strings with whitespaces in RewriteRule's ENV flag?
How to use apache web server linux?
Is nginx better than apache?
How to deploy war or java applications in apache?
Why does Apache send a cookie on every response?
Where is apache installed?
When did ubuntu switch to systemd?
How secure is apache web server linux?