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        *  Copyright (C) 1996-2019 The Squid Software Foundation and contribu‐
59       tors
60        *
61        * Squid software is distributed under GPLv2+ license and includes
62        * contributions from numerous individuals and organizations.
63        * Please see the COPYING and CONTRIBUTORS files for details.
64
65       This program and documentation is copyright to the authors named above.
66
67       Distributed under the GNU General Public License (GNU GPL) version 2 or
68       later (GPLv2+).
69

QUESTIONS

71       Questions  on  the usage of this program can be sent to the Squid Users
72       mailing list <squid-users@lists.squid-cache.org>
73

REPORTING BUGS

75       Bug reports  need  to  be  made  in  English.   See  http://wiki.squid-
76       cache.org/SquidFaq/BugReporting for details of what you need to include
77       with your bug report.
78
79       Report bugs or bug fixes using http://bugs.squid-cache.org/
80
81       Report serious security bugs  to  Squid  Bugs  <squid-bugs@lists.squid-
82       cache.org>
83
84       Report  ideas for new improvements to the Squid Developers mailing list
85       <squid-dev@lists.squid-cache.org>
86

SEE ALSO

88       squid(8),  basic_pam_auth(8),  basic_ncsa_auth(8),  basic_ldap_auth(8),
89       basic_nis_auth(8),  chown(1),  chmod(1), nsswitch.conf(5), getpwnam(3),
90       getspnam(3), GPL(7),
91       The Squid FAQ wiki http://wiki.squid-cache.org/SquidFaq
92       The Squid Configuration Manual http://www.squid-cache.org/Doc/config/
93
94
95
96
97                                                        basic_getpwnam_auth(8)
Impressum