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

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.

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.

A.
htpasswd -n /srv/www/security/site-passwd user

B.
htpasswd -D /srv/www/security/site-passwd user

C.
htpasswd /srv/www/security/site-passwd user

D.
htpasswd -c /srv/www/security/site passwd user

E.
None of the above.



Leave a Reply 0

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