-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcgipaf.conf.sample
More file actions
133 lines (108 loc) · 3.41 KB
/
cgipaf.conf.sample
File metadata and controls
133 lines (108 loc) · 3.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
#
# cgipaf.conf
#
# Copyright (C) 2002 Staf Wagemakers Belgie/Belgium
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
#
#
# sample cgipaf config file
#
#
# set the pam service name, if not set passwd is used
#
# pam_service cgipaf
#
# enable syslog messages
#
syslog on
loglevel 6
#
# accessdb configuration
accessdb /etc/cgipaf/accessdb
max_invalid 10
invalid_timeout 60
#
# set the minimum uid & maximum uid, if min_uid isn't set the
# default (10) is used. if max_uid isn't set there is no
# maximum
#
min_uid 101
#
# passwd.cgi configuration
#
<passwd>
# syntax: document document_name
# document redirect location
#
document_root /var/www/cgipaf
login_document cgipasswd.php
error_loginname cgipasswd_errlogin.php
error_access cgipasswd_erraccess.php
error_invalid cgipasswd_errinvalid.php
error_newpassword cgipasswd_errnewpass.php
error_match cgipasswd_errmatch.php
error_tooshort cgipasswd_errshort.php
error_locked cgipasswd_errlocked.php
# run_locked /usr/local/bin/notify_script %{name}
error_toolong cgipasswd_errlong.php
error_cracklib cgipasswd_errbadpassword.php
error_pam cgipasswd_errpam.php
msg_success cgipasswd_msgchanged.php
# run_success "/usr/bin/smbpasswd -s -U %{name} > /dev/null 2>&1" "%{password}\n%{password}\n"
#
# set the minimum & maximum password length
#
min_length 5
max_length 10
#
# enable cracklib support
#
# cracklib on
#
# set PAM_CHANGE_EXPIRED_AUTHTOK flag
#
set_PAM_CHANGE_EXPIRED_AUTHTOK on
</passwd>
#
# mailcfg configuration
#
<mailcfg>
cookie_timeout 300
document_root /var/www/cgipaf
login_document viewmailcfg.php
mailcfg_document mailcfg.php
error_readname mailcfg_errreadname
error_accessdb mailcfg_erraccessdb.php
error_loginname mailcfg_errloginname.php
error_access mailcfg_erraccess.php
error_invalid mailcfg_errinvalid.php
error_locked mailcfg_errlocked.php
error_readforward mailcfg_errforward.php
error_forwardto mailcfg_errforwardto.php
error_invalidforwardto mailcfg_errinvalidforwardto.php
error_readkeepmsg mailcfg_errkeepmsg.php
error_readautoreply mailcfg_errautoreply.php
error_autoreplymsg mailcfg_errautoreplymsg.php
error_cookie mailcfg_errcookie.php
error_cookietimeout mailcfg_errcookietimeout.php
error_deldotforward mailcfg_errdeldotforward.php
error_deldotprocmailrc mailcfg_errdeldotprocmailrc.php
error_openvacations mailcfg_erropenvacations.php
msg_success mailcfg_msgupdated.php
# sendmail /usr/lib/sendmail
# domain your_domain_name
</mailcfg>