1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
.\" $OpenBSD: login_fbtab.3,v 1.5 2001/06/03 15:32:57 deraadt Exp $
.\"
.\" Copyright 1995 by Wietse Venema. All rights reserved. Some individual
.\" files may be covered by other copyrights.
.\"
.\" This material was originally written and compiled by Wietse Venema at
.\" Eindhoven University of Technology, The Netherlands, in 1990, 1991,
.\" 1992, 1993, 1994 and 1995.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that this entire copyright notice
.\" is duplicated in all such copies.
.\"
.\" This software is provided "as is" and without any expressed or implied
.\" warranties, including, without limitation, the implied warranties of
.\" merchantibility and fitness for any particular purpose.
.\"
.Dd November 8, 1999
.Dt LOGIN_FBTAB 3
.Os
.Sh NAME
.Nm login_fbtab
.Nd implement device security based on
.Pa /etc/fbtab
.Sh SYNOPSIS
.Fd #include <util.h>
.Ft void
.Fn login_fbtab "char *tty" "uid_t uid" "gid_t gid"
.Sh DESCRIPTION
The
.Fn login_fbtab
function reads the
.Pa /etc/fbtab
file and implements device security as described in the
.Xr fbtab 5
manual page.
.Pp
If errors occur a null string is returned.
.Sh DIAGNOSTICS
Problems are reported via the
.Xr syslogd 8
daemon with the severity of
.Dv LOG_ERR .
.Sh FILES
.Bl -tag -width /etc/fbtab -compact
.It Pa /etc/fbtab
.El
.Sh SEE ALSO
.Xr fbtab 5
.Sh AUTHOR
.Bd -unfilled
Wietse Venema (wietse@wzv.win.tue.nl)
Eindhoven University of Technology
The Netherlands
.Ed
.Sh BUGS
This module uses
.Xr strtok 3 ,
which may cause conflicts with other uses of that same routine.
|