On Sun, 3 Jul 2022 20:26:45 +0600 Ahmad Ismail <ismail...@gmail.com> wrote:
> Who writes to dbm password files? I mean how are new users registered? > > If apache authenticates using `mod_auth_basic` or `mod_auth_digest` > then someone must put the users with their credentials there. > > Best regards, > Ahmmad Ismail > I setup users over SSH with Python: subprocess.run(['ssh', 'm...@server.tld', 'htdbm -bt /usr/local/apache2/var/users.dbm', email, pword, '{},'.format(alias)]) Works really well. You will need to make yourself the owner of the dbm file and www-data as the group. Simon --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org