LPI
117-202 · Question #15
There is a restricted area in an Apache site, which requires users to authenticate against the file /srv/www/security/site-passwd. Which command is used to CHANGE the password of existing users…
The correct answer is B. htpasswd /srv/www/security/site-passwd user. See the full explanation below for the reasoning.
Question
There is a restricted area in an Apache site, which requires users to authenticate against the file /srv/www/security/site-passwd. Which command is used to CHANGE the password of existing users, without losing data, when Basic authentication is being used.
Options
- Ahtpasswd -c /srv/www/security/site passwd user
- Bhtpasswd /srv/www/security/site-passwd user
- Chtpasswd -n /srv/www/security/site-passwd user
- Dhtpasswd -D /srv/www/security/site-passwd user
- ENone of the above.
How the community answered
(37 responses)- A14% (5)
- B73% (27)
- C8% (3)
- D3% (1)
- E3% (1)
Community Discussion
No community discussion yet for this question.