Go to main content

Securing Systems and Attached Devices in Oracle® Solaris 11.4

Exit Print View

Updated: July 2019
 
 

Viewing Allocation Information About a Device

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

To 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.

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.