1.\" $OpenBSD: fbtab.5,v 1.8 2000/11/10 20:02:19 todd Exp $ 2.\" 3.Dd August 22, 1994 4.Dt FBTAB 5 5.Os 6.Sh NAME 7.Nm fbtab 8.Nd change device protection upon login 9.Sh DESCRIPTION 10The 11.Nm 12file contains lines which specify how the permissions and ownership of 13various system files should be changed based on the user's login device name. 14.Pp 15Comments start with a 16.Ql # 17and extend to the end of the line. 18Blank lines or lines with only a comment are ignored. 19.Pp 20All other lines consist of three fields delimited by whitespace. 21.Bl -tag -width xxxxxxxxxxxxxxxxxxxx 22.It Login Device 23The device you have logged in on (e.g., 24.Dq /dev/ttyv0 ) . 25.It File Permission 26An octal permission number (0600), as used by 27.Xr chmod 2 . 28.It Other devices 29The final field is a colon 30.Pq Ql \&: 31delimited list of devices (e.g., 32.Dq /dev/console:/dev/fd0a ) . 33All device names are absolute paths. 34A path that ends in 35.Dq /\&* 36refers to all directory entries except 37.Dq \&. 38and 39.Dq \&.\&. . 40.El 41.Pp 42The 43.Nm 44file is used by 45.Xr login 1 46to 47.Xr chown 2 48the specified files to the user who has performed a login. 49As well, 50.Xr chmod 2 51is used to set the devices to the specified permission. 52When a user logs out, 53.Xr init 8 54is responsible for performing the inverse operation, which results in 55the files once again belonging to root. 56.Sh FILES 57.Bl -tag -width /etc/fbtab -compact 58.It Pa /etc/fbtab 59.El 60.Sh SEE ALSO 61.Xr login 1 , 62.Xr init 8 , 63.Xr login_fbtab 3 64.Sh AUTHORS 65Guido van Rooij 66