1997-03-07 03:28:23 +00:00
|
|
|
.\"
|
1999-08-28 00:22:10 +00:00
|
|
|
.\" $FreeBSD$
|
1997-03-07 03:28:23 +00:00
|
|
|
.\"
|
1994-08-22 19:35:49 +00:00
|
|
|
.Dd August 22, 1994
|
|
|
|
.Dt FBTAB 5
|
|
|
|
.Os FreeBSD 2.0
|
|
|
|
.Sh NAME
|
|
|
|
.Nm fbtab
|
|
|
|
.Nd change device protection upon login
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm fbtab
|
|
|
|
file contains a number of lines specifying a device together with a list
|
|
|
|
of devices with associated protections.
|
|
|
|
Comments start with a # and extend to the end of the line.
|
|
|
|
.Pp
|
|
|
|
Blank lines or lines with only a comment are ignored.
|
|
|
|
.Pp
|
|
|
|
All other lines consist of three fields delimited by
|
|
|
|
whitespace: a login device (/dev/ttyv0), an octal
|
|
|
|
permission number (0600), and a ":"-delimited list of
|
|
|
|
devices (/dev/console). All device names are
|
2000-03-02 14:54:02 +00:00
|
|
|
absolute paths.
|
|
|
|
A path that ends in "/*" refers to all
|
1994-08-22 19:35:49 +00:00
|
|
|
directory entries except "." and "..".
|
|
|
|
.Pp
|
|
|
|
If the tty argument (relative path) matches a login device
|
|
|
|
name (absolute path), the permissions of the devices in the
|
|
|
|
":"-delimited list are set as specified in the second
|
|
|
|
field, and their ownership is changed to that of the uid
|
|
|
|
and gid arguments.
|
|
|
|
.Sh FILES
|
|
|
|
.Bl -tag -width /etc/fbtab -compact
|
|
|
|
.It Pa /etc/fbtab
|
|
|
|
The
|
|
|
|
.Nm fbtab
|
|
|
|
file resides in
|
|
|
|
.Pa /etc .
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr login 1 ,
|
|
|
|
.Xr getty 8
|
1998-03-12 07:31:21 +00:00
|
|
|
.Sh AUTHORS
|
|
|
|
.An Guido van Rooij
|