System Administration Commands dminfo(1M)
NAME
dminfo - report information about a device entry in a device
maps file
SYNOPSIS
dminfo [-v] [-a] [-f pathname]
dminfo [-v] [-a] [-f pathname] -n dev -name...
dminfo [-v] [-a] [-f pathname] -d dev -path...
dminfo [-v] [-a] [-f pathname] -t dev -type...
dminfo [-v] [-f pathname] -u dm -entry
DESCRIPTION
dminfo reports and updates information about the
devicemaps(4) file.
OPTIONS
The following options are supported
-a Succeed if any of the requested entries
are found. If used with -v, all entries
that match the requested case(s) are
printed.
-d dev-path Search by dev-path. Search devicemaps(4)
for a device special pathname in the
devicelist field matching the dev-path
argument. This option cannot be used with
-n, -t or -u.
-f pathname Use a devicemaps file with pathname
instead of /etc/security/devicemaps.
-n dev-name Search by dev-name. Search devicemaps(4)
for a devicename field matching dev-name.
This option cannot be used with -d, -t or
-u.
-t dev-type Search by dev-type. Search devicemaps(4)
for a devicetype field matching the given
SunOS 5.11 Last change: 16 Apr 2008 1
System Administration Commands dminfo(1M)
dev-type. This option cannot be used with
-d, -n or -u.
-u dm-entry Update the devicemaps(4) file. This
option is provided to add entries to the
devicemaps(4) file. The dm-entry must be
a complete devicemaps(4) file entry. The
dm-entry has fields, as in the devicemaps
file. It uses the colon (:) as a field
separator, and white space as the
devicelist subfield separators. The
dm-entry is not made if any fields are
missing, or if the dm-entry would be a
duplicate. The default device maps file
can be updated only by the super user.
-v Verbose. Print the requested entry or
entries, one line per entry, on the stan-
dard output. If no entries are specified,
all are printed.
EXIT STATUS
0 Successful completion.
1 Request failed.
2 Incorrect syntax.
FILES
/etc/security/devicemaps
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWcsu
SEE ALSO
SunOS 5.11 Last change: 16 Apr 2008 2
System Administration Commands dminfo(1M)
bsmconv(1M), devicemaps(4), attributes(5)
NOTES
The functionality described in this man page is available
only if the Solaris Auditing feature has been enabled. See
bsmconv(1M) for more information.
SunOS 5.11 Last change: 16 Apr 2008 3
|