SVDTAB(5)

NAME
svdtab - SunView device table

SYNOPSIS
/etc/svdtab

DESCRIPTION

The /etc/svdtab contains information that is used by the window system (for example, sunview(1)) to change the owner, group, and permissions of the window devices (/dev/win*) upon startup. By default all lines in this file are commented out. That is, all security is disabled. To enable security, uncomment the following line in /etc/svdtab and start up the window system again:

    #0600

If /etc/svdtab contains an entry, the owner and group of the win devices are set to the owner and group of the console. The permissions are set as specified in /etc/svdtab. The recommended permissions for normal security is 0600.

Once the window devices are owned by the user, their permissions and ownership can be changed using chmod(1V) and chown(8), as with any user-other file.

EXAMPLES

The following is an example entry of the /etc/svdtab file:

    0600

This entry specifies that upon SunView startup, the owner, group and permissions of /dev/win* will be set to the user's username, the user's group and 0600, respectively. Upon exiting the window system, the owner and group of /dev/win*, will be reset to root, and wheel. The permissions remain as set in /etc/svdtab. If no entry appears in this file, the owner, group and permissions will not be changed.

SEE ALSO
chmod(1V), sunview(1), chown(8)

NOTES

If the window system dies unnaturally, for example by kill(1), the owner, group and permissions remain as set when the window was started up.