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