|
Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!
File Formats logindevperm(4)
NAME
logindevperm, fbtab - login-based device permissions
SYNOPSIS
/etc/logindevperm
DESCRIPTION
The /etc/logindevperm file contains information that is used
by login(1) and ttymon(1M) to change the owner, group, and
permissions of devices upon logging into or out of a console
device. By default, this file contains lines for the key-
board, mouse, audio, and frame buffer devices.
The owner of the devices listed in /etc/logindevperm is set
to the owner of the console by login(1). The group of the
devices is set to the owner's group specified in
/etc/passwd. The permissions are set as specified in
/etc/logindevperm.
Fields are separated by TAB and/or SPACE characters. Blank
lines and comments can appear anywhere in the file; comments
start with a hashmark, ` # ', and continue to the end of the
line.
The first field specifies the name of a console device (for
example, /dev/console). The second field specifies the per-
missions to which the devices in the device_list field
(third field) will be set. These permissions must be
expressed in octal format. For example, 0774. A device_list
is a colon-separated list of device names. A device name
must be a /dev link. A directory or logical name in the dev-
ice name may be either one of the following:
o a fully qualified name. For example, fbs.
o a regular expression. For example, [a-z0-9.]+ (see
regexp(5) for more information on regular expressions).
o a wildcard character "*" specifying all directory or
node names (except "." and ".."). For example,
/dev/fbs/* specifies all frame buffer devices.
Some examples of /etc/logindevperm file entries include:
/dev/usb/[0-9a-f]+[.][0-9a-f]+/[0-9]+/[a-z0-9.]+
/dev/usb/[0-9a-f]+[.][0-9a-f]+/[0-9]+/*
/dev/usb/[0-9a-f]+[.][0-9a-f]+/*/*
specify all ugen(7D) endpoints and status nodes.
SunOS 5.10 Last change: 20 Mar 2006 1
File Formats logindevperm(4)
Drivers may also be specified to limit the permission
changes to minor nodes owned by the specified drivers. For
example,
/dev/console 0600 /dev/usb/[0-9a-f]+[.][0-9a-f]+/[0-9]+/* \
driver=usb_mid,scsa2usb,usbprn # libusb devices
Due to the persistence of devfs(7FS) minor node management,
the user should be logged in as root if the list of minor
nodes will be reduced and the devices should all be plugged
in.
Once the devices are owned by the user, their permissions
and ownership can be changed using chmod(1) and chown(1), as
with any other user-owned file.
Upon logout the owner and group of these devices will be
reset by ttymon(1M) to owner root and root's group as speci-
fied in /etc/passwd (typically other). The permissions are
set as specified in the /etc/logindevperm file.
FILES
/etc/passwd File that contains user group information.
SEE ALSO
chmod(1), chown(1), login(1), ttymon(1M), passwd(4),
regexp(5), ugen(7D)
NOTES
/etc/logindevperm provides a superset of the functionality
provided by /etc/fbtab in SunOS 4.x releases.
SunOS 5.10 Last change: 20 Mar 2006 2
Man(1) output converted with
man2html and wrapped by fishsponge
This page was generated on Wed Sep 12 11:27:22 GMT 2007
|
Your favourite pages:
No pages logged yet. Trying to save cookie... Top 10 most popular pages:
sqlite3 man page (5334 hits) (openSUSE 10.2)
svn man page (5208 hits) (FreeBSD 6.2)
adv_cap_autoneg man page (4870 hits) (Solaris 10 11_06)
CPAN man page (4607 hits) (Suse Linux 10.1)
ssh man page (4342 hits) (Suse Linux 10.1)
ssh-socks5-proxy-connect man page (2874 hits) (Solaris 10 11_06)
netcat man page (2717 hits) (Suse Linux 10.1)
pprosetup man page (2487 hits) (Solaris 10 11_06)
startproc man page (2471 hits) (Suse Linux 10.1)
signal man page (2406 hits) (Suse Linux 10.1)
|