Device allocation must be enabled for this procedure to succeed. To enable device allocation, see How to Make a Device Allocatable.
Assume a role that includes the Device Security rights profile, or become superuser.
The Primary Administrator role includes the Device Security rights profile. You can also assign the Device Security rights profile to a role that you create. To create the role and assign the role to a user, see Example 9–3.
# list_devices device-name
where device-name is one of the following:
audio[n] – Is a microphone and speaker.
fd[n] – Is a diskette drive.
sr[n] – Is a CD-ROM drive.
st[n] – Is a tape drive.
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.