MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


File Formats                                       devicemaps(4)



NAME
     devicemaps - devicemaps file

SYNOPSIS
     /etc/security/devicemaps


DESCRIPTION
     The devicemaps file  contains  access  control  information
     about  each physical device. Each device is represented by a
     one line entry of the form:

       device-name : device-type : device-list :



     where

     device-name

         This is an arbitrary ASCI string  naming  the  physical
         device.  This  field contains no embedded white space or
         non-printable characters.


     device-type

         This is an arbitrary ASCI  string  naming  the  generic
         device  type.  This field identifies and groups together
         devices of like type. This field  contains  no  embedded
         white space or non-printable characters.


     device-list

         This is a list of the device  special  files  associated
         with the physical device. This field contains valid dev-
         ice special file path names separated by white space.



     The devicemaps file is an ASCI file that  resides  in  the
     /etc/security directory.


     Lines in devicemaps can end with a `\' to continue an entry
     on the next line.


     Comments may also be included. A `#' makes a comment of  all
     further text until the next NEWLINE not immediately preceded
     by a `\'.



SunOS 5.11          Last change: 30 Apr 2008                    1






File Formats                                       devicemaps(4)



     Leading and trailing  blanks  are  allowed  in  any  of  the
     fields.


     The devicemaps file must be created by the system  adminis-
     trator bef\ore device allocation is enabled.


     This file is owned by root, with a group of sys, and a  mode
     of 0644.

EXAMPLES
     Example 1 A Sample devicemaps File


     The following is a sample devicemaps file:


       # scsi tape
       st1:\
       rmt:\
       /dev/rst21 /dev/nrst21 /dev/rst5 /dev/nrst5 /dev/rst13 \
       /dev/nrst13 /dev/rst29 /dev/nrst29 /dev/rmt/1l /dev/rmt/1m \
       /dev/rmt/1 /dev/rmt/1h /dev/rmt/1u /dev/rmt/1ln /dev/rmt/1mn \
       /dev/rmt/1n /dev/rmt/1hn /dev/rmt/1un /dev/rmt/1b /dev/rmt/1bn:\



FILES
     /etc/security/devicemaps    Contains access control  infor-
                                  mation for devices.


ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Uncommitted                 
    


SEE ALSO
     allocate(1),  bsmconv(1M),  deallocate(1),  listdevices(1),
     dminfo(1M), deviceallocate(4), attributes(5)

NOTES




SunOS 5.11          Last change: 30 Apr 2008                    2






File Formats                                       devicemaps(4)



     The functionality described in this man  page  is  available
     only  if  Solaris Auditing has been enabled. See bsmconv(1M)
     for more information.


     On systems configured with  Trusted  Extensions,  the  func-
     tionality  is  enabled  by  default.  On  such  systems, the
     deviceallocate(4) file is updated automatically by the sys-
     tem.














































SunOS 5.11          Last change: 30 Apr 2008                    3



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™