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
|
2001-07-10 15:31:11 +00:00
|
|
|
.Os
|
1994-08-22 19:35:49 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm fbtab
|
|
|
|
.Nd change device protection upon login
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
2000-11-20 18:41:33 +00:00
|
|
|
.Nm
|
1994-08-22 19:35:49 +00:00
|
|
|
file contains a number of lines specifying a device together with a list
|
2001-07-14 19:41:16 +00:00
|
|
|
of devices with associated protections.
|
2001-11-20 16:18:21 +00:00
|
|
|
Comments start with a
|
|
|
|
.Ql #
|
|
|
|
and extend to the end of the line.
|
1994-08-22 19:35:49 +00:00
|
|
|
.Pp
|
|
|
|
Blank lines or lines with only a comment are ignored.
|
|
|
|
.Pp
|
|
|
|
All other lines consist of three fields delimited by
|
2001-11-20 16:18:21 +00:00
|
|
|
whitespace: a login device
|
|
|
|
.Pq Pa /dev/ttyv0 ,
|
|
|
|
an octal permission number (0600), and a colon
|
|
|
|
.Pq Ql \&:
|
|
|
|
delimited list of device patterns
|
|
|
|
.Pq Pa /dev/console , /dev/dsp* .
|
2001-10-25 20:45:47 +00:00
|
|
|
All device patterns are absolute paths.
|
1994-08-22 19:35:49 +00:00
|
|
|
.Pp
|
|
|
|
If the tty argument (relative path) matches a login device
|
|
|
|
name (absolute path), the permissions of the devices in the
|
2001-11-20 16:18:21 +00:00
|
|
|
colon-delimited list are set as specified in the second
|
|
|
|
field, and their ownership is changed to that of the UID
|
|
|
|
and GID arguments.
|
1994-08-22 19:35:49 +00:00
|
|
|
.Sh FILES
|
2001-11-20 16:18:21 +00:00
|
|
|
.Bl -tag -width ".Pa /etc/fbtab" -compact
|
1994-08-22 19:35:49 +00:00
|
|
|
.It Pa /etc/fbtab
|
|
|
|
The
|
2000-11-20 18:41:33 +00:00
|
|
|
.Nm
|
1994-08-22 19:35:49 +00:00
|
|
|
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
|