diff options
author | charnier <charnier@FreeBSD.org> | 2003-03-24 16:02:05 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2003-03-24 16:02:05 +0000 |
commit | f0ffe0ef9f006aa0c680f7def2d63f561eaade3f (patch) | |
tree | 1a092156e84df44700be1a9dde40cf947f43e35a /lib/libutil/login_ok.3 | |
parent | 4a7a5ceb415b6b952d09c593efb016bf4e786972 (diff) | |
download | FreeBSD-src-f0ffe0ef9f006aa0c680f7def2d63f561eaade3f.zip FreeBSD-src-f0ffe0ef9f006aa0c680f7def2d63f561eaade3f.tar.gz |
The .Fn function
Diffstat (limited to 'lib/libutil/login_ok.3')
-rw-r--r-- | lib/libutil/login_ok.3 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libutil/login_ok.3 b/lib/libutil/login_ok.3 index c7fa84d..c005e5d 100644 --- a/lib/libutil/login_ok.3 +++ b/lib/libutil/login_ok.3 @@ -44,8 +44,9 @@ This set of functions checks to see if login is allowed based on login class capability entries in the login database, .Xr login.conf 5 . .Pp +The .Fn auth_ttyok -checks to see if the named tty is available to users of a specific +function checks to see if the named tty is available to users of a specific class, and is either in the .Em ttys.allow access list, and not in @@ -73,8 +74,9 @@ or empty string as the .Ar tty parameter causes the function to return a non-zero value. .Pp +The .Fn auth_hostok -checks for any host restrictions for remote logins. +function checks for any host restrictions for remote logins. The function checks on both a host name and IP address (given in its text form, typically n.n.n.n) against the .Em host.allow |