1*6cb10275Sriastradh.\" $NetBSD: pam_radius.8,v 1.7 2014/03/18 18:20:37 riastradh Exp $ 26f11bdf1Schristos.\" Copyright (c) 1999 36f11bdf1Schristos.\" Andrzej Bialecki <abial@FreeBSD.org>. All rights reserved. 46f11bdf1Schristos.\" 56f11bdf1Schristos.\" Copyright (c) 1992, 1993, 1994 66f11bdf1Schristos.\" The Regents of the University of California. All rights reserved. 76f11bdf1Schristos.\" All rights reserved. 86f11bdf1Schristos.\" 96f11bdf1Schristos.\" This code is derived from software donated to Berkeley by 106f11bdf1Schristos.\" Jan-Simon Pendry. 116f11bdf1Schristos.\" 126f11bdf1Schristos.\" Redistribution and use in source and binary forms, with or without 136f11bdf1Schristos.\" modification, are permitted provided that the following conditions 146f11bdf1Schristos.\" are met: 156f11bdf1Schristos.\" 1. Redistributions of source code must retain the above copyright 166f11bdf1Schristos.\" notice, this list of conditions and the following disclaimer. 176f11bdf1Schristos.\" 2. Redistributions in binary form must reproduce the above copyright 186f11bdf1Schristos.\" notice, this list of conditions and the following disclaimer in the 196f11bdf1Schristos.\" documentation and/or other materials provided with the distribution. 206f11bdf1Schristos.\" 3. All advertising materials mentioning features or use of this software 216f11bdf1Schristos.\" must display the following acknowledgement: 226f11bdf1Schristos.\" This product includes software developed by the University of 236f11bdf1Schristos.\" California, Berkeley and its contributors. 246f11bdf1Schristos.\" 4. Neither the name of the University nor the names of its contributors 256f11bdf1Schristos.\" may be used to endorse or promote products derived from this software 266f11bdf1Schristos.\" without specific prior written permission. 276f11bdf1Schristos.\" 286f11bdf1Schristos.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 296f11bdf1Schristos.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 306f11bdf1Schristos.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 316f11bdf1Schristos.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 326f11bdf1Schristos.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 336f11bdf1Schristos.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 346f11bdf1Schristos.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 356f11bdf1Schristos.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 366f11bdf1Schristos.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 376f11bdf1Schristos.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 386f11bdf1Schristos.\" SUCH DAMAGE. 396f11bdf1Schristos.\" 404251f117Sthorpej.\" $FreeBSD: src/lib/libpam/modules/pam_radius/pam_radius.8,v 1.17 2005/02/13 22:25:14 ru Exp $ 416f11bdf1Schristos.\" 426f11bdf1Schristos.Dd October 28, 2002 436f11bdf1Schristos.Dt PAM_RADIUS 8 446f11bdf1Schristos.Os 456f11bdf1Schristos.Sh NAME 466f11bdf1Schristos.Nm pam_radius 472f6bdc4aSthorpej.Nd RADIUS PAM module 486f11bdf1Schristos.Sh SYNOPSIS 496f11bdf1Schristos.Op Ar service-name 506f11bdf1Schristos.Ar module-type 516f11bdf1Schristos.Ar control-flag 526f11bdf1Schristos.Pa pam_radius 536f11bdf1Schristos.Op Ar options 546f11bdf1Schristos.Sh DESCRIPTION 552f6bdc4aSthorpejThe RADIUS service module for PAM 562f6bdc4aSthorpejprovides authentication services based 572f6bdc4aSthorpejupon the RADIUS (Remote Authentication Dial In User Service) protocol. 586f11bdf1Schristos.Pp 596f11bdf1SchristosThe 606f11bdf1Schristos.Nm 616f11bdf1Schristosmodule accepts these optional parameters: 626f11bdf1Schristos.Bl -tag -width Fl 636f11bdf1Schristos.It Cm use_first_pass 646f11bdf1Schristoscauses 656f11bdf1Schristos.Nm 666f11bdf1Schristosto use a previously entered password instead of prompting for a new one. 676f11bdf1SchristosIf no password has been entered then authentication fails. 686f11bdf1Schristos.It Cm try_first_pass 696f11bdf1Schristoscauses 706f11bdf1Schristos.Nm 716f11bdf1Schristosto use a previously entered password, if one is available. 726f11bdf1SchristosIf no 736f11bdf1Schristospassword has been entered, 746f11bdf1Schristos.Nm 756f11bdf1Schristosprompts for one as usual. 766f11bdf1Schristos.It Cm echo_pass 776f11bdf1Schristoscauses echoing to be left on if 786f11bdf1Schristos.Nm 796f11bdf1Schristosprompts for a password. 806f11bdf1Schristos.It Cm conf Ns = Ns Ar pathname 816f11bdf1Schristosspecifies a non-standard location for the RADIUS client configuration file 826f11bdf1Schristos(normally located in 836f11bdf1Schristos.Pa /etc/radius.conf ) . 846f11bdf1Schristos.It Cm nas_id Ns = Ns Ar identifier 856f11bdf1Schristosspecifies a NAS identifier to send instead of the hostname. 866f11bdf1Schristos.It Cm template_user Ns = Ns Ar username 876f11bdf1Schristosspecifies a user whose 886f11bdf1Schristos.Xr passwd 5 896f11bdf1Schristosentry will be used as a template to create the session environment 9003a04bd5Swizif the supplied username does not exist in the local password database. 916f11bdf1SchristosThe user 926f11bdf1Schristoswill be authenticated with the supplied username and password, but his 936f11bdf1Schristoscredentials to the system will be presented as the ones for 946f11bdf1Schristos.Ar username , 956f11bdf1Schristosi.e., his login class, home directory, resource limits, etc.\& will be set to ones 966f11bdf1Schristosdefined for 976f11bdf1Schristos.Ar username . 986f11bdf1Schristos.Pp 996f11bdf1SchristosIf this option is omitted, and there is no username 1006f11bdf1Schristosin the system databases equal to the supplied one (as determined by call to 1016f11bdf1Schristos.Xr getpwnam 3 ) , 1026f11bdf1Schristosthe authentication will fail. 1036f11bdf1Schristos.It Cm nas_ipaddr Ns Op No = Ns Ar address 1046f11bdf1Schristosspecifies a NAS IP address to be sent. 1056f11bdf1SchristosIf option is present, but there is no value provided then IP address 1066f11bdf1Schristoscorresponding to the current hostname will be used. 1076f11bdf1Schristos.El 1086f11bdf1Schristos.Sh FILES 1096f11bdf1Schristos.Bl -tag -width /etc/radius.conf -compact 1106f11bdf1Schristos.It Pa /etc/radius.conf 1116f11bdf1SchristosThe standard RADIUS client configuration file for 1126f11bdf1Schristos.Nm 1136f11bdf1Schristos.El 1146f11bdf1Schristos.Sh SEE ALSO 1156f11bdf1Schristos.Xr passwd 5 , 1166f11bdf1Schristos.Xr radius.conf 5 , 1176f11bdf1Schristos.Xr pam 8 1186f11bdf1Schristos.Sh HISTORY 1196f11bdf1SchristosThe 1206f11bdf1Schristos.Nm 1216f11bdf1Schristosmodule first appeared in 1226f11bdf1Schristos.Fx 3.1 . 1236f11bdf1SchristosThe 1246f11bdf1Schristos.Nm 1256f11bdf1Schristosmanual page first appeared in 1266f11bdf1Schristos.Fx 3.3 . 1276f11bdf1Schristos.Sh AUTHORS 1286f11bdf1Schristos.An -nosplit 1296f11bdf1SchristosThe 1306f11bdf1Schristos.Nm 1316f11bdf1Schristosmanual page was written by 132a5684d07Swiz.An Andrzej Bialecki Aq Mt abial@FreeBSD.org . 1336f11bdf1Schristos.Pp 1346f11bdf1SchristosThe 1356f11bdf1Schristos.Nm 1366f11bdf1Schristosmodule was written by 137a5684d07Swiz.An John D. Polstra Aq Mt jdp@FreeBSD.org . 138