The following procedure enables an audio player to open automatically in a Trusted CDE workspace when a user inserts a music CD. For the user's procedure, see the example in How to Allocate a Device in Trusted Extensions in Oracle Solaris Trusted Extensions User’s Guide.
In a Trusted JDS workspace, users specify the behavior of removable media just as they specify it in a non-trusted workspace.
You must be in the System Administrator role in the global zone.
Edit the /etc/rmmount.conf file.
Use the trusted editor. For details, see How to Edit Administrative Files in Trusted Extensions.
Add your site's CD player program to the cdrom action in the file.
action media action_program.so path-to-program |
In the following example, the system administrator makes the workman program available to all users of a system. The workman program is an audio player program.
# /etc/rmmount.conf file action cdrom action_workman.so /usr/local/bin/workman |