4983b09404
target devices, not just individual devices and directories. This permits activities such as: ttyv0 0600 /dev/dsp* Whereas previously that was not supported. This change is backwards-compatible, except where device names included globbing characters, which is not the case for any devices listed in MAKEDEV. Submitted by: Maxime Henrion <mux@qualys.com> MFC after: 3 weeks
43 lines
1.0 KiB
Groff
43 lines
1.0 KiB
Groff
.\"
|
|
.\" $FreeBSD$
|
|
.\"
|
|
.Dd August 22, 1994
|
|
.Dt FBTAB 5
|
|
.Os
|
|
.Sh NAME
|
|
.Nm fbtab
|
|
.Nd change device protection upon login
|
|
.Sh DESCRIPTION
|
|
The
|
|
.Nm
|
|
file contains a number of lines specifying a device together with a list
|
|
of devices with associated protections.
|
|
Comments start with a # and extend to the end of the line.
|
|
.Pp
|
|
Blank lines or lines with only a comment are ignored.
|
|
.Pp
|
|
All other lines consist of three fields delimited by
|
|
whitespace: a login device (/dev/ttyv0), an octal
|
|
permission number (0600), and a ":"-delimited list of
|
|
device patterns (/dev/console, /dev/dsp*).
|
|
All device patterns are absolute paths.
|
|
.Pp
|
|
If the tty argument (relative path) matches a login device
|
|
name (absolute path), the permissions of the devices in the
|
|
":"-delimited list are set as specified in the second
|
|
field, and their ownership is changed to that of the uid
|
|
and gid arguments.
|
|
.Sh FILES
|
|
.Bl -tag -width /etc/fbtab -compact
|
|
.It Pa /etc/fbtab
|
|
The
|
|
.Nm
|
|
file resides in
|
|
.Pa /etc .
|
|
.El
|
|
.Sh SEE ALSO
|
|
.Xr login 1 ,
|
|
.Xr getty 8
|
|
.Sh AUTHORS
|
|
.An Guido van Rooij
|