xref: /freebsd/share/man/man5/fbtab.5 (revision daf1cffce2e07931f27c6c6998652e90df6ba87e)
1.\"
2.\" $FreeBSD$
3.\"
4.Dd August 22, 1994
5.Dt FBTAB 5
6.Os FreeBSD 2.0
7.Sh NAME
8.Nm fbtab
9.Nd change device protection upon login
10.Sh DESCRIPTION
11The
12.Nm fbtab
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
22devices (/dev/console). All device names are
23absolute paths. A path that ends in "/*" refers to all
24directory entries except "." and "..".
25.Pp
26If the tty argument (relative path) matches a login device
27name (absolute path), the permissions of the devices in the
28":"-delimited list are set as specified in the second
29field, and their ownership is changed to that of the uid
30and gid arguments.
31.Sh FILES
32.Bl -tag -width /etc/fbtab -compact
33.It Pa /etc/fbtab
34The
35.Nm fbtab
36file resides in
37.Pa /etc .
38.El
39.Sh SEE ALSO
40.Xr login 1 ,
41.Xr getty 8
42.Sh AUTHORS
43.An Guido van Rooij
44