1device_maps(4)                   File Formats                   device_maps(4)
2
3
4

NAME

6       device_maps - device_maps file
7

SYNOPSIS

9       /etc/security/device_maps
10
11

DESCRIPTION

13       The  device_maps  file  contains  access control information about each
14       physical device. Each device is represented by a one line entry of  the
15       form:
16
17         device-name : device-type : device-list :
18
19
20
21       where
22
23       device-name
24
25           This  is an arbitrary ASCII string naming the physical device. This
26           field contains no embedded white space or non-printable characters.
27
28
29       device-type
30
31           This is an arbitrary ASCII string naming the generic  device  type.
32           This  field  identifies  and  groups together devices of like type.
33           This field contains no embedded white space or non-printable  char‐
34           acters.
35
36
37       device-list
38
39           This  is  a  list  of  the device special files associated with the
40           physical device. This field contains valid device special file path
41           names separated by white space.
42
43
44
45       The device_maps file is an ASCII file that resides in the /etc/security
46       directory.
47
48
49       Lines in device_maps can end with a `\' to continue  an  entry  on  the
50       next line.
51
52
53       Comments  may  also  be  included. A `#' makes a comment of all further
54       text until the next NEWLINE not immediately preceded by a `\'.
55
56
57       Leading and trailing blanks are allowed in any of the fields.
58
59
60       The device_maps file  must  be  created  by  the  system  administrator
61       bef\ore device allocation is enabled.
62
63
64       This file is owned by root, with a group of sys, and a mode of 0644.
65

EXAMPLES

67       Example 1 A Sample device_maps File
68
69
70       The following is a sample device_maps file:
71
72
73         # scsi tape
74         st1:\
75         rmt:\
76         /dev/rst21 /dev/nrst21 /dev/rst5 /dev/nrst5 /dev/rst13 \
77         /dev/nrst13 /dev/rst29 /dev/nrst29 /dev/rmt/1l /dev/rmt/1m \
78         /dev/rmt/1 /dev/rmt/1h /dev/rmt/1u /dev/rmt/1ln /dev/rmt/1mn \
79         /dev/rmt/1n /dev/rmt/1hn /dev/rmt/1un /dev/rmt/1b /dev/rmt/1bn:\
80
81
82

FILES

84       /etc/security/device_maps    Contains  access  control  information for
85                                    devices.
86
87

ATTRIBUTES

89       See attributes(5) for descriptions of the following attributes:
90
91
92
93
94       ┌─────────────────────────────┬─────────────────────────────┐
95       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
96       ├─────────────────────────────┼─────────────────────────────┤
97       │Interface Stability          │Uncommitted                  │
98       └─────────────────────────────┴─────────────────────────────┘
99

SEE ALSO

101       allocate(1), bsmconv(1M), deallocate(1),  list_devices(1),  dminfo(1M),
102       device_allocate(4), attributes(5)
103

NOTES

105       The  functionality  described  in  this  man  page is available only if
106       Solaris Auditing has been enabled. See bsmconv(1M)  for  more  informa‐
107       tion.
108
109
110       On  systems  configured  with  Trusted Extensions, the functionality is
111       enabled by default. On such systems,  the  device_allocate(4)  file  is
112       updated automatically by the system.
113
114
115
116SunOS 5.11                        30 Apr 2008                   device_maps(4)
Impressum