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