Securing Systems and Attached Devices in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

How to View Allocation Information About a Device

Before You Begin

Complete How to Enable Device Allocation.

You must become an administrator who is assigned the Device Security rights profile. For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  • Display information about allocatable devices on your system.
    # list_devices device-name

      where device-name is one of the following:

    • audio[n] – Microphone and speaker.

    • rmdisk[n] – Removable media device, such as a USB flash drive.

    • sr[n] – CD-ROM drive.

    • st[n] – Tape drive.

Troubleshooting

If the list_devices command returns an error message similar to the following, then either device allocation is not enabled, or you do not have sufficient permissions to retrieve the information.

list_devices: No device maps file entry for specified device.

For the command to succeed, enable device allocation and assume a role with the solaris.device.revoke authorization.