1 .\" $OpenBSD: fbtab.5,v 1.13 2007/05/31 19:19:58 jmc Exp $
3 .\" Copyright (c) 1996 Theo de Raadt
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
15 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 .Dd $Mdocdate: May 31 2007 $
31 .Nd change device protection upon login
35 file contains lines which specify how the permissions and ownership of
36 various system files should be changed based on the user's login device name.
40 and extend to the end of the line.
41 Blank lines or lines with only a comment are ignored.
43 All other lines consist of three fields delimited by whitespace.
44 .Bl -tag -width xxxxxxxxxxxxxxxxxxxx
46 The device you have logged in on (e.g.,
49 An octal permission number (0600), as used by
52 The final field is a colon
54 delimited list of devices (e.g.,
55 .Dq /dev/console:/dev/fd0a ) .
56 All device names are absolute paths.
59 refers to all directory entries except
71 the specified files to the user who has performed a login.
74 is used to set the devices to the specified permission.
77 is responsible for performing the inverse operation, which results in
78 the files once again belonging to root.
80 .Bl -tag -width /etc/fbtab -compact