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