Skip to content

Commit

Permalink
Mention htpasswd package for rhel based distros
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineSebert authored Jan 2, 2025
1 parent d13b70f commit 40e2abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion community/LogIn.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ It simply asks for a username and password which are configured in a file.
It is often handled by an external webserver such as Nginx or Apache.

You can create the config file with the `htpasswd` utility by Apache.
On Debian based distros it is in the `apache2-utils` package.
On Debian based distros it is in the `apache2-utils` package, or the `httpd-tools` package on RedHat based distros (RHEL/CentOS/Oracle Linux).
To create a new file and the first user use `htpasswd -c /path/to/file/.htpasswd user`.
To create a new user use use `htpasswd /path/to/file/.htpasswd another_user`.

Expand Down

0 comments on commit 40e2abc

Please sign in to comment.