xref: /dflybsd-src/share/man/man5/fbtab.5 (revision 86d7f5d305c6adaa56ff4582ece9859d73106103)
186d7f5d3SJohn Marino.\"
286d7f5d3SJohn Marino.\" $FreeBSD: src/share/man/man5/fbtab.5,v 1.6.2.6 2001/12/17 11:30:14 ru Exp $
386d7f5d3SJohn Marino.\" $DragonFly: src/share/man/man5/fbtab.5,v 1.2 2003/06/17 04:37:00 dillon Exp $
486d7f5d3SJohn Marino.\"
586d7f5d3SJohn Marino.Dd August 22, 1994
686d7f5d3SJohn Marino.Dt FBTAB 5
786d7f5d3SJohn Marino.Os
886d7f5d3SJohn Marino.Sh NAME
986d7f5d3SJohn Marino.Nm fbtab
1086d7f5d3SJohn Marino.Nd change device protection upon login
1186d7f5d3SJohn Marino.Sh DESCRIPTION
1286d7f5d3SJohn MarinoThe
1386d7f5d3SJohn Marino.Nm
1486d7f5d3SJohn Marinofile contains a number of lines specifying a device together with a list
1586d7f5d3SJohn Marinoof devices with associated protections.
1686d7f5d3SJohn MarinoComments start with a
1786d7f5d3SJohn Marino.Ql #
1886d7f5d3SJohn Marinoand extend to the end of the line.
1986d7f5d3SJohn Marino.Pp
2086d7f5d3SJohn MarinoBlank lines or lines with only a comment are ignored.
2186d7f5d3SJohn Marino.Pp
2286d7f5d3SJohn MarinoAll other lines consist of three fields delimited by
2386d7f5d3SJohn Marinowhitespace: a login device
2486d7f5d3SJohn Marino.Pq Pa /dev/ttyv0 ,
2586d7f5d3SJohn Marinoan octal permission number (0600), and a colon
2686d7f5d3SJohn Marino.Pq Ql \&:
2786d7f5d3SJohn Marinodelimited list of device patterns
2886d7f5d3SJohn Marino.Pq Pa /dev/console , /dev/dsp* .
2986d7f5d3SJohn MarinoAll device patterns are absolute paths.
3086d7f5d3SJohn Marino.Pp
3186d7f5d3SJohn MarinoIf the tty argument (relative path) matches a login device
3286d7f5d3SJohn Marinoname (absolute path), the permissions of the devices in the
3386d7f5d3SJohn Marinocolon-delimited list are set as specified in the second
3486d7f5d3SJohn Marinofield, and their ownership is changed to that of the UID
3586d7f5d3SJohn Marinoand GID arguments.
3686d7f5d3SJohn Marino.Sh FILES
3786d7f5d3SJohn Marino.Bl -tag -width ".Pa /etc/fbtab" -compact
3886d7f5d3SJohn Marino.It Pa /etc/fbtab
3986d7f5d3SJohn MarinoThe
4086d7f5d3SJohn Marino.Nm
4186d7f5d3SJohn Marinofile resides in
4286d7f5d3SJohn Marino.Pa /etc .
4386d7f5d3SJohn Marino.El
4486d7f5d3SJohn Marino.Sh SEE ALSO
4586d7f5d3SJohn Marino.Xr login 1 ,
4686d7f5d3SJohn Marino.Xr getty 8
4786d7f5d3SJohn Marino.Sh AUTHORS
4886d7f5d3SJohn Marino.An Guido van Rooij
49