You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Simon Harrison <in...@simonh.uk> on 2021/12/24 10:59:36 UTC
[users@httpd] AuthDBMGroupFile -- htdbm usage?
Hello. Following the advice here:
https://httpd.apache.org/docs/2.4/mod/mod_authz_dbm.html#authdbmgroupfile
I'm wanting use dbm for managing users and groups (in the same file).
The thing is, I can't find out the recommended way to manage groups.
Apparently there was a program called dbmmanage which is now obsolete.
The man page for htdbm is great for managing users, but the word group
doesn't even appear.
Can someone help me out?
Many thanks,
Simon
--
Web: https://simonh.uk
Email: mail@simonh.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] AuthDBMGroupFile -- htdbm usage?
Posted by Simon Harrison <in...@simonh.uk>.
I've decided to answer my own question in case it helps others in the
future. As it turns out, the solution was to pass a string with comma
separated values with the -t option:
root@server:/usr/local/apache2/var# htdbm -t users.dbm username
"group1,group2"
Could this be added to the docs explicitly?
--
Web: https://simonh.uk
Email: mail@simonh.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] AuthDBMGroupFile -- htdbm usage?
Posted by Simon Harrison <in...@simonh.uk>.
On Fri, 24 Dec 2021 10:59:36 +0000
Simon Harrison <in...@simonh.uk> wrote:
> Hello. Following the advice here:
>
> https://httpd.apache.org/docs/2.4/mod/mod_authz_dbm.html#authdbmgroupfile
>
> I'm wanting use dbm for managing users and groups (in the same file).
> The thing is, I can't find out the recommended way to manage groups.
> Apparently there was a program called dbmmanage which is now obsolete.
>
> The man page for htdbm is great for managing users, but the word group
> doesn't even appear.
>
> Can someone help me out?
>
> Many thanks,
>
> Simon
>
Looking into this further, it seems back in 2001 a patch was made:
https://www.mail-archive.com/dev@httpd.apache.org/msg03533.html
was it never applied?
--
Web: https://simonh.uk
Email: mail@simonh.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org