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