1basic_getpwnam_auth(8)      System Manager's Manual     basic_getpwnam_auth(8)
2
3
4

NAME

6       basic_getpwnam_auth - Local Users auth helper for Squid
7

SYNOPSIS

9       basic_getpwnam_auth
10

DESCRIPTION

12       basic_getpwnam_auth   allows  Squid  to  authenticate  any  local  user
13       accounts to validate the user name and password of Basic HTTP authenti‐
14       cation.
15
16       It uses getpwnam() and getspnam() routines for authentication.
17
18       This has the following advantages over the NCSA module:
19
20       - Allows authentication of all known local users
21
22       - Allows authentication through nsswitch.conf
23
24       - Can handle NIS(+) requests
25
26       - Can handle LDAP requests
27
28       - Can handle PAM requests
29

CONFIGURATION

31              auth_param basic program /path/to/basic_getpwnam_auth
32              auth_param basic children concurrency=1
33
34       When  used  for  authenticating to local UNIX shadow password databases
35       the program must be running as root or else it  won't  have  sufficient
36       permissions to access the user password database. Such use of this pro‐
37       gram is not recommended, but if you absolutely need to  then  make  the
38       program setuid root
39              chown root basic_getpwnam_auth
40              chmod u+s basic_getpwnam_auth
41
42       Please note that in such configurations it is also strongly recommended
43       that the program is moved into a directory where  normal  users  cannot
44       access  it,  as  this  mode  of  operation will allow any local user to
45       brute-force other users passwords. Also note the program has  not  been
46       fully  audited  and the author cannot be held responsible for any secu‐
47       rity issues due to such installations.
48

AUTHOR

50       This program was  written  by  Erik  Hofman  <erik.hofman@a1.nl>  Robin
51       Elfrink <robin@a1.nl> Giancarlo Razzolini <linux-fan@onda.com.br>
52
53       Based on original code by Jon Thackray <jrmt@uk.gdscorp.com>.
54
55       This manual was written by Amos Jeffries <amosjeffries@squid-cache.org>
56
58       This program and documentation is copyright to the authors named above.
59
60       Distributed under the GNU General Public License (GNU GPL) version 2 or
61       later (GPLv2+).
62

QUESTIONS

64       Questions on the usage of this program can be sent to the  Squid  Users
65       mailing list <squid-users@squid-cache.org>
66

REPORTING BUGS

68       Bug  reports  need  to  be  made  in  English.   See http://wiki.squid-
69       cache.org/SquidFaq/BugReporting for details of what you need to include
70       with your bug report.
71
72       Report bugs or bug fixes using http://bugs.squid-cache.org/
73
74       Report serious security bugs to Squid Bugs <squid-bugs@squid-cache.org>
75
76       Report  ideas for new improvements to the Squid Developers mailing list
77       <squid-dev@squid-cache.org>
78

SEE ALSO

80       squid(8),  basic_pam_auth(8),  basic_ncsa_auth(8),  basic_ldap_auth(8),
81       basic_nis_auth(8),  chown(1),  chmod(1), nsswitch.conf(5), getpwnam(3),
82       getspnam(3), GPL(7),
83       The Squid FAQ wiki http://wiki.squid-cache.org/SquidFaq
84       The Squid Configuration Manual http://www.squid-cache.org/Doc/config/
85
86
87
88
89                                                        basic_getpwnam_auth(8)
Impressum