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