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