xref: /freebsd/share/man/man5/fbtab.5 (revision 41466b50c1d5bfd1cf6adaae547a579a75d7c04e)
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 # and 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 (/dev/ttyv0), an octal
21permission number (0600), and a ":"-delimited list of
22device patterns (/dev/console, /dev/dsp*).
23All device patterns are absolute paths.
24.Pp
25If the tty argument (relative path) matches a login device
26name (absolute path), the permissions of the devices in the
27":"-delimited list are set as specified in the second
28field, and their ownership is changed to that of the uid
29and gid arguments.
30.Sh FILES
31.Bl -tag -width /etc/fbtab -compact
32.It Pa /etc/fbtab
33The
34.Nm
35file resides in
36.Pa /etc .
37.El
38.Sh SEE ALSO
39.Xr login 1 ,
40.Xr getty 8
41.Sh AUTHORS
42.An Guido van Rooij
43