Re: How to sign up using Apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 3 Jul 2022 20:26:45 +0600
Ahmad Ismail <ismail783@xxxxxxxxx> 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', 'me@xxxxxxxxxx', '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-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux