IT/Software/Server Config/Apache/Passwords

From msgwiki
< IT‎ | Software‎ | Server Config‎ | Apache
Revision as of 05:56, 26 December 2020 by Walttheboss (talk | contribs) (Created page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.

General

These are passwords that are stored for webapps like webdav and secure folders.

register the user and password to apache

sudo htpasswd /usr/local/apache/passwd/passwords msg2013student

This will modify the password for that user if he/she exists.

If they don't exist in Apache it will create the user and add the password.

It will prompt you for a password. You cannot add one in the command.

To delete a user

sudo htpasswd -D /usr/local/apache/passwd/passwords msg2013student

To make or update a password and see it visibly as you enter it.

sudo htpasswd -b /etc/apache2/passwords uri uri