ExamGecko
Question list
Search
Search

Related questions











Question 74 - 202-450 discussion

Report
Export

There is a restricted area in a site hosted by Apache HTTPD, which requires users to authenticate against the file /srv/www/security/sitepasswd.

Which command is used to CHANGE the password of existing users, without losing data, when Basic authentication is being used?

A.
htpasswd -c /srv/www/security/sitepasswd user
Answers
A.
htpasswd -c /srv/www/security/sitepasswd user
B.
htpasswd /srv/www/security/sitepasswd user
Answers
B.
htpasswd /srv/www/security/sitepasswd user
C.
htpasswd -n /srv/www/security/sitepasswd user
Answers
C.
htpasswd -n /srv/www/security/sitepasswd user
D.
htpasswd -D /srv/www/security/sitepasswd user
Answers
D.
htpasswd -D /srv/www/security/sitepasswd user
Suggested answer: A

Explanation:

Reference: https://httpd.apache.org/docs/2.4/howto/auth.html

asked 18/09/2024
Emergya Ingenieria SLU Emergya Ingenieria SLU
25 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first