Which command is used to CHANGE the password of existing users…?

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 -c /srv/www/security/site passwd user

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

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

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

E.
None of the above.



Leave a Reply 1

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