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