xref: /openbsd-src/lib/libutil/login_fbtab.3 (revision 7af96dc2584537ba59d187a761ac22b514613f31)
1.\"	$OpenBSD: login_fbtab.3,v 1.15 2021/03/05 07:34:46 anton Exp $
2.\"
3.\" Copyright 1995 by Wietse Venema.  All rights reserved.  Some individual
4.\" files may be covered by other copyrights.
5.\"
6.\" This material was originally written and compiled by Wietse Venema at
7.\" Eindhoven University of Technology, The Netherlands, in 1990, 1991,
8.\" 1992, 1993, 1994 and 1995.
9.\"
10.\" Redistribution and use in source and binary forms, with or without
11.\" modification, are permitted provided that this entire copyright notice
12.\" is duplicated in all such copies.
13.\"
14.\" This software is provided "as is" and without any expressed or implied
15.\" warranties, including, without limitation, the implied warranties of
16.\" merchantibility and fitness for any particular purpose.
17.\"
18.Dd $Mdocdate: March 5 2021 $
19.Dt LOGIN_FBTAB 3
20.Os
21.Sh NAME
22.Nm login_fbtab
23.Nd implement device security based on fbtab(5)
24.Sh SYNOPSIS
25.In sys/types.h
26.In util.h
27.Ft void
28.Fn login_fbtab "const char *tty" "uid_t uid" "gid_t gid"
29.Sh DESCRIPTION
30The
31.Fn login_fbtab
32function reads the
33.Pa /etc/fbtab
34file and implements device security as described in the
35.Xr fbtab 5
36manual page.
37.Sh FILES
38.Bl -tag -width /etc/fbtab -compact
39.It Pa /etc/fbtab
40.El
41.Sh DIAGNOSTICS
42Problems are reported via the
43.Xr syslogd 8
44daemon with the severity of
45.Dv LOG_ERR .
46.Sh SEE ALSO
47.Xr fbtab 5
48.Sh AUTHORS
49.An Wietse Venema Aq Mt wietse@wzv.win.tue.nl
50.br
51Eindhoven University of Technology
52.br
53The Netherlands
54