Merge from vendor branch OPENSSL:
[dragonfly.git] / share / man / man5 / fbtab.5
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
12 The
13 .Nm
14 file contains a number of lines specifying a device together with a list
15 of devices with associated protections.
16 Comments start with a
17 .Ql #
18 and extend to the end of the line.
19 .Pp
20 Blank lines or lines with only a comment are ignored.
21 .Pp
22 All other lines consist of three fields delimited by
23 whitespace: a login device
24 .Pq Pa /dev/ttyv0 ,
25 an octal permission number (0600), and a colon
26 .Pq Ql \&:
27 delimited list of device patterns
28 .Pq Pa /dev/console , /dev/dsp* .
29 All device patterns are absolute paths.
30 .Pp
31 If the tty argument (relative path) matches a login device
32 name (absolute path), the permissions of the devices in the
33 colon-delimited list are set as specified in the second
34 field, and their ownership is changed to that of the UID
35 and GID arguments.
36 .Sh FILES
37 .Bl -tag -width ".Pa /etc/fbtab" -compact
38 .It Pa /etc/fbtab
39 The
40 .Nm
41 file 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