From 40e2abcff0a5c2100a82d18a402a313687d50ee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20S=C3=A9bert?= Date: Thu, 2 Jan 2025 11:42:40 +0100 Subject: [PATCH] Mention htpasswd package for rhel based distros --- community/LogIn.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/community/LogIn.md b/community/LogIn.md index 4eff5a9..d4ed67e 100644 --- a/community/LogIn.md +++ b/community/LogIn.md @@ -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`.