xref: /freebsd/share/man/man5/fbtab.5 (revision b9f654b163bce26de79705e77b872427c9f2afa1)
1.\"
2.\" $FreeBSD$
3.\"
4.Dd August 22, 1994
5.Dt FBTAB 5
6.Os
7.Sh NAME
8.Nm fbtab
9.Nd change device protection upon login
10.Sh DESCRIPTION
11The
12.Nm
13file contains a number of lines specifying a device together with a list
14of devices with associated protections.
15Comments start with a
16.Ql #
17and extend to the end of the line.
18.Pp
19Blank lines or lines with only a comment are ignored.
20.Pp
21All other lines consist of three fields delimited by
22whitespace: a login device
23.Pq Pa /dev/ttyv0 ,
24an octal permission number (0600), and a colon
25.Pq Ql \&:
26delimited list of device patterns
27.Pq Pa /dev/console , /dev/dsp* .
28All device patterns are absolute paths.
29.Pp
30If the tty argument (relative path) matches a login device
31name (absolute path), the permissions of the devices in the
32colon-delimited list are set as specified in the second
33field, and their ownership is changed to that of the UID
34and GID arguments.
35.Sh FILES
36.Bl -tag -width ".Pa /etc/fbtab" -compact
37.It Pa /etc/fbtab
38The
39.Nm
40file resides in
41.Pa /etc .
42.El
43.Sh SEE ALSO
44.Xr login 1 ,
45.Xr getty 8
46.Sh AUTHORS
47.An Guido van Rooij
48