xref: /freebsd/share/man/man5/fbtab.5 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
1ac5afce1SJohn-Mark Gurney.\"
2695fcfc9SGuido van Rooij.Dd August 22, 1994
3695fcfc9SGuido van Rooij.Dt FBTAB 5
43d45e180SRuslan Ermilov.Os
5695fcfc9SGuido van Rooij.Sh NAME
6695fcfc9SGuido van Rooij.Nm fbtab
7695fcfc9SGuido van Rooij.Nd change device protection upon login
8695fcfc9SGuido van Rooij.Sh DESCRIPTION
9695fcfc9SGuido van RooijThe
104b66483fSRuslan Ermilov.Nm
11695fcfc9SGuido van Rooijfile contains a number of lines specifying a device together with a list
12695fcfc9SGuido van Rooijof devices with associated protections.
130594f3d2SRuslan ErmilovComments start with a
140594f3d2SRuslan Ermilov.Ql #
150594f3d2SRuslan Ermilovand extend to the end of the line.
16695fcfc9SGuido van Rooij.Pp
17695fcfc9SGuido van RooijBlank lines or lines with only a comment are ignored.
18695fcfc9SGuido van Rooij.Pp
19695fcfc9SGuido van RooijAll other lines consist of three fields delimited by
200594f3d2SRuslan Ermilovwhitespace: a login device
210594f3d2SRuslan Ermilov.Pq Pa /dev/ttyv0 ,
220594f3d2SRuslan Ermilovan octal permission number (0600), and a colon
230594f3d2SRuslan Ermilov.Pq Ql \&:
240594f3d2SRuslan Ermilovdelimited list of device patterns
250594f3d2SRuslan Ermilov.Pq Pa /dev/console , /dev/dsp* .
264983b094SRobert WatsonAll device patterns are absolute paths.
27695fcfc9SGuido van Rooij.Pp
28695fcfc9SGuido van RooijIf the tty argument (relative path) matches a login device
29695fcfc9SGuido van Rooijname (absolute path), the permissions of the devices in the
300594f3d2SRuslan Ermilovcolon-delimited list are set as specified in the second
310594f3d2SRuslan Ermilovfield, and their ownership is changed to that of the UID
320594f3d2SRuslan Ermilovand GID arguments.
33695fcfc9SGuido van Rooij.Sh FILES
340594f3d2SRuslan Ermilov.Bl -tag -width ".Pa /etc/fbtab" -compact
35695fcfc9SGuido van Rooij.It Pa /etc/fbtab
36695fcfc9SGuido van RooijThe
374b66483fSRuslan Ermilov.Nm
38695fcfc9SGuido van Rooijfile resides in
39695fcfc9SGuido van Rooij.Pa /etc .
40695fcfc9SGuido van Rooij.El
41695fcfc9SGuido van Rooij.Sh SEE ALSO
42695fcfc9SGuido van Rooij.Xr login 1 ,
43695fcfc9SGuido van Rooij.Xr getty 8
44aaf1f16eSPhilippe Charnier.Sh AUTHORS
45aaf1f16eSPhilippe Charnier.An Guido van Rooij
46