LPI
202-400 · 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
(40 responses)- A5% (2)
- B83% (33)
- D10% (4)
- E3% (1)
Community Discussion
No community discussion yet for this question.