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: head/lib/libutil/login_ok.3 81449 2001-08-10 13:45:36Z ru $ |
21.\" 22.Dd January 2, 1997 23.Os 24.Dt LOGIN_OK 3 25.Sh NAME 26.Nm auth_ttyok , 27.Nm auth_hostok , 28.Nm auth_timeok --- 59 unchanged lines hidden (view full) --- 88function is used for matching, and the matching on hostnames is case 89insensitive. 90Note that this function expects that the hostname is fully expanded 91(i.e. the local domain name added if necessary) and the IP address 92is in its canonical form. 93No hostname or address lookups are attempted. 94.Pp 95It is possible to call this function with either the hostname or |
96the IP address missing (i.e.\& |
97.Dv NULL ) 98and matching will be performed 99only on the basis of the parameter given. 100Passing 101.Dv NULL 102or empty strings in both parameters will result in 103a non-zero return value. 104.Pp --- 36 unchanged lines hidden --- |