1.\" Copyright (c) 1995 David Nugent <davidn@blaze.net.au> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, is permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice immediately at the beginning of the file, without modification, 9.\" this list of conditions, and the following disclaimer. 10.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" notice, this list of conditions and the following disclaimer in the 12.\" documentation and/or other materials provided with the distribution. 13.\" 3. This work was done expressly for inclusion into FreeBSD. Other use 14.\" is permitted provided this notation is included. 15.\" 4. Absolutely no warranty of function or purpose is made by the author 16.\" David Nugent. 17.\" 5. Modifications may be freely made to this file providing the above 18.\" conditions are met. 19.\" 20.\" $FreeBSD: src/lib/libutil/login_auth.3,v 1.9.2.4 2001/12/17 10:08:32 ru Exp $ 21.\" $DragonFly: src/lib/libutil/login_auth.3,v 1.2 2003/06/17 04:26:51 dillon Exp $ 22.\" 23.Dd December 29, 1996 24.Os 25.Dt LOGIN_AUTH 3 26.Sh NAME 27.\" .Nm authenticate 28.\" .Nm auth_script 29.\" .Nm auth_env 30.\" .Nm auth_scan 31.\" .Nm auth_rmfiles 32.Nm auth_checknologin , 33.Nm auth_cat 34.\" .Nm auth_ttyok 35.\" .Nm auth_hostok 36.\" .Nm auth_timesok 37.Nd "authentication style support library for login class capabilities database" 38.Sh LIBRARY 39.Lb libutil 40.Sh SYNOPSIS 41.In sys/types.h 42.In login_cap.h 43.\" .Ft int 44.\". Fn authenticate "const char *name" "const char *classname" "const char *style" "const char *service" 45.\" .Ft int 46.\" .Fn auth_script "const char * path" ... 47.\" .Ft void 48.\" .Fn auth_env "void" 49.\" .Ft int 50.\" .Fn auth_scan "int ok" 51.\" .Ft void 52.\" .Fn auth_rmfiles "void" 53.Ft void 54.Fn auth_checknologin "login_cap_t *lc" 55.Ft int 56.Fn auth_cat "const char *file" 57.\" .Ft int 58.\" .Fn auth_ttyok "login_cap_t *lc" "const char *tty" 59.\" .Ft int 60.\" .Fn auth_hostok "login_cap_t *lc" "const char *hostname" "char const *ip" 61.\" .Ft int 62.\" .Fn auth_timesok "login_cap_t *lc" "time_t now" 63.Sh DESCRIPTION 64This set of functions support the login class authorisation style interface provided 65by 66.Xr login.conf 5 . 67.\" .Sh RETURN VALUES 68.Sh SEE ALSO 69.Xr getcap 3 , 70.Xr login_cap 3 , 71.Xr login_class 3 , 72.Xr login.conf 5 , 73.Xr termcap 5 74