File: pam_auth.8

package info (click to toggle)
squid 2.6.5-6etch5
  • links: PTS
  • area: main
  • in suites: etch
  • size: 12,540 kB
  • ctags: 13,801
  • sloc: ansic: 105,278; sh: 6,083; makefile: 1,297; perl: 1,245; awk: 40
file content (92 lines) | stat: -rw-r--r-- 2,844 bytes parent folder | download | duplicates (7)
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
.TH pam_auth 8 "5 Sep 2003" "Squid PAM Auth"
.
.SH NAME
pam_auth - Squid PAM authentication helper
.
.SH SYNOPSIS
squid_pam_auth [-n "service name"] [-t TTL] [-o] [-1]
.
.SH DESCRIPTION
This helper allows Squid to connect to a mostly any available PAM
database to validate the user name and password of Basic HTTP
authentication.
.
.TP
.BI "-s " "service-name"
Specifies the PAM service name Squid uses, defaults to "squid"
.
.TP
.BI "-t " TTL
Enables persistent PAM connections where the connection to the PAM
database is kept open and reused for new logins. The TTL specifies
how long the connetion will be kept open (in seconds).  Default is
to not keep PAM connections open. Please note that the use of
persistent PAM connections is slightly outside the PAM
specification and may not work with all PAM configurations.
.
.TP
.BI "-o"
Do not perform the PAM account management group (account
expiration etc)

.
.SH CONFIGURATION
.
The program needs a PAM service to be configured in 
.B /etc/pam.conf
or
.B /etc/pam.d/<servicename>
.P
The default service name is "squid", and the program makes use
of the
.BR "" ' auth "' and '" account '
management groups to verify the password and the accounts validity.
.P
For details on how to configure PAM services, see the PAM
documentation for your system. This manual does not cover PAM
configuration details. The existing PAM service definitions for
other applications on your system is also a good source for examples
on how to configure a PAM service.
.
.SH NOTES
.
When used for authenticating to local UNIX shadow password databases
the program must be running as root or else it won't have sufficient
permissions to access the user password database. Such use of this
program is not recommended, but if you absolutely need to then make
the program setuid root
.RS
.P
.B chown root pam_auth
.br
.B chmod u+s pam_auth
.RE
.P
Please note that in such configurations it is also strongly recommended
that the program is moved into a directory where normal users cannot
access it, as this mode of operation will allow any local user to
brute-force other users passwords. Also note the program has not been
fully audited and the author cannot be held responsible for any security
issues due to such installations.
.
.SH AUTHOR
Squid pam_auth and this manual is written by
.I Henrik Nordstrom <hno@squid-cache.org>
.
.SH COPYRIGHT
Squid pam_auth and this manual is Copyright 1999,2002,2003
Henrik Nordstrom <hno@squid-cache.org>
.
.SH QUESTIONS
Questions on the usage of this program can be sent to the
.I Squid Users <squid-users@squid-cache.org>
mailing list.
.
.SH REPORTING BUGS
Report bugs or bug-fixes to
.I Squid Bugs <squid-bugs@squid-cache.org>
or ideas for new improvements to 
.I Squid Developers <squid-dev@squid-cache.org>
.
.SH "SEE ALSO"
.BR pam (8), " PAM Systems Administrator Guide"