1997-01-04 16:50:08 +00:00
|
|
|
.\" Copyright (c) 1995 David Nugent <davidn@blaze.net.au>
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, is permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice immediately at the beginning of the file, without modification,
|
|
|
|
.\" this list of conditions, and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. This work was done expressly for inclusion into FreeBSD. Other use
|
|
|
|
.\" is permitted provided this notation is included.
|
|
|
|
.\" 4. Absolutely no warranty of function or purpose is made by the author
|
|
|
|
.\" David Nugent.
|
|
|
|
.\" 5. Modifications may be freely made to this file providing the above
|
|
|
|
.\" conditions are met.
|
|
|
|
.\"
|
1999-08-28 00:22:10 +00:00
|
|
|
.\" $FreeBSD$
|
1997-01-04 16:50:08 +00:00
|
|
|
.\"
|
|
|
|
.Dd December 29, 1996
|
2001-07-10 13:41:46 +00:00
|
|
|
.Os
|
1997-01-04 16:50:08 +00:00
|
|
|
.Dt LOGIN_AUTH 3
|
|
|
|
.Sh NAME
|
1998-03-23 13:29:49 +00:00
|
|
|
.\" .Nm authenticate
|
1999-04-24 16:30:30 +00:00
|
|
|
.\" .Nm auth_script
|
|
|
|
.\" .Nm auth_env
|
|
|
|
.\" .Nm auth_scan
|
|
|
|
.\" .Nm auth_rmfiles
|
1999-09-21 19:39:27 +00:00
|
|
|
.Nm auth_checknologin ,
|
2001-07-15 07:53:42 +00:00
|
|
|
.Nm auth_cat
|
|
|
|
.\" .Nm auth_ttyok
|
|
|
|
.\" .Nm auth_hostok
|
1998-03-23 13:29:49 +00:00
|
|
|
.\" .Nm auth_timesok
|
2001-04-18 15:54:10 +00:00
|
|
|
.Nd "authentication style support library for login class capabilities database"
|
2000-04-22 16:17:00 +00:00
|
|
|
.Sh LIBRARY
|
|
|
|
.Lb libutil
|
1997-01-04 16:50:08 +00:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Fd #include <sys/types.h>
|
|
|
|
.Fd #include <login_cap.h>
|
1998-03-23 13:29:49 +00:00
|
|
|
.\" .Ft int
|
|
|
|
.\". Fn authenticate "const char *name" "const char *classname" "const char *style" "const char *service"
|
1999-04-24 16:30:30 +00:00
|
|
|
.\" .Ft int
|
|
|
|
.\" .Fn auth_script "const char * path" ...
|
|
|
|
.\" .Ft void
|
|
|
|
.\" .Fn auth_env "void"
|
|
|
|
.\" .Ft int
|
|
|
|
.\" .Fn auth_scan "int ok"
|
|
|
|
.\" .Ft void
|
|
|
|
.\" .Fn auth_rmfiles "void"
|
1998-03-23 13:29:49 +00:00
|
|
|
.Ft void
|
1997-01-04 16:50:08 +00:00
|
|
|
.Fn auth_checknologin "login_cap_t *lc"
|
|
|
|
.Ft int
|
|
|
|
.Fn auth_cat "const char *file"
|
1999-04-24 16:30:30 +00:00
|
|
|
.\" .Ft int
|
|
|
|
.\" .Fn auth_ttyok "login_cap_t *lc" "const char *tty"
|
|
|
|
.\" .Ft int
|
|
|
|
.\" .Fn auth_hostok "login_cap_t *lc" "const char *hostname" "char const *ip"
|
1998-03-23 13:29:49 +00:00
|
|
|
.\" .Ft int
|
|
|
|
.\" .Fn auth_timesok "login_cap_t *lc" "time_t now"
|
1997-01-04 16:50:08 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
This set of functions support the login class authorisation style interface provided
|
|
|
|
by
|
|
|
|
.Xr login.conf 5 .
|
1999-09-21 19:39:27 +00:00
|
|
|
.\" .Sh RETURN VALUES
|
1997-01-04 16:50:08 +00:00
|
|
|
.Sh SEE ALSO
|
1997-01-20 23:23:22 +00:00
|
|
|
.Xr getcap 3 ,
|
1997-01-04 16:50:08 +00:00
|
|
|
.Xr login_cap 3 ,
|
|
|
|
.Xr login_class 3 ,
|
|
|
|
.Xr login.conf 5 ,
|
1997-01-20 23:23:22 +00:00
|
|
|
.Xr termcap 5
|