Adding a user on .htpasswd

Exact same thing, just omit the -c option. Apache’s docs on it here. htpasswd /etc/apache2/.htpasswd newuser Also, htpasswd typically isn’t run as root. It’s typically owned by either the web server, or the owner of the files being served. If you’re using root to edit it instead of logging in as one of those users, … Read more