Apache & mod_auth_pam
I have a small problem with the userauthentification (.htacess)
with auth PAM modul for Apache.
Probably it is more a problem with useradd.
At the moment I'm using mod_auth_pam for userauthentication on
special webfolders. /etc/shadow have to be accessed by apache
userid. (chgrp www-data /etc/shadow)
Now the problem:
Everytime I add a new user with useradd the group of /etc/shadow is
changed back to group shadow and userauthentication fails.
How I can manage this situation?
I know it's not a good solution, but I'm working on a central LDAP