wk2: account management tooling
This commit is contained in:
parent
37eeeb2467
commit
f864d9c84e
34 changed files with 379 additions and 350 deletions
4
target/pam/pam.d/smtp
Normal file
4
target/pam/pam.d/smtp
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# /etc/pam.d/smtp
|
||||
auth required pam_pgsql.so
|
||||
account required pam_pgsql.so
|
||||
password required pam_pgsql.so
|
||||
12
target/pam/pam_pgsql.conf
Normal file
12
target/pam/pam_pgsql.conf
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# /etc/pam_pgsql.conf
|
||||
database = mails
|
||||
host = localhost
|
||||
user = mailreader
|
||||
password = mailreader-secret
|
||||
table = users
|
||||
user_column = userid
|
||||
pwd_column = password
|
||||
#expired_column = acc_expired
|
||||
#newtok_column = acc_new_pwreq
|
||||
pw_type = crypt
|
||||
#debug
|
||||
Loading…
Add table
Add a link
Reference in a new issue