[BACK]Return to login_fbtab.3 CVS log [TXT][DIR] Up to [local] / src / lib / libutil

File: [local] / src / lib / libutil / login_fbtab.3 (download)

Revision 1.9, Mon Jun 2 11:37:27 2003 UTC (21 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.8: +5 -5 lines

- section reorder
- clean up .Xr's

.\"	$OpenBSD: login_fbtab.3,v 1.9 2003/06/02 11:37:27 jmc 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 June 14, 2002
.Dt LOGIN_FBTAB 3
.Os
.Sh NAME
.Nm login_fbtab
.Nd implement device security based on
.Pa /etc/fbtab
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <util.h>
.Ft void
.Fn login_fbtab "const 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.
.Sh FILES
.Bl -tag -width /etc/fbtab -compact
.It Pa /etc/fbtab
.El
.Sh DIAGNOSTICS
Problems are reported via the
.Xr syslogd 8
daemon with the severity of
.Dv LOG_ERR .
.Sh SEE ALSO
.Xr fbtab 5
.Sh AUTHORS
.Bd -unfilled
Wietse Venema (wietse@wzv.win.tue.nl)
Eindhoven University of Technology
The Netherlands
.Ed
.Sh CAVEATS
Previous versions of this routine used
.Xr strtok 3 ,
which can cause conflicts with other uses of that routine.
This may be an issue when porting programs to
.Ox 3.1
and below.