Trusted Solaris Administrator's Procedures

To Automatically Launch a CD Player for an Audio CD-ROM

As described in Chapter 12, Managing Devices, under "Mounting an Allocated CD-ROM Device", if an allocated CD-ROM device contains an audio CD and if an audio action is specified in rmmount.conf, the audio action executes.

  1. Assume the Security Administrator role in an ADMIN_LOW workspace.

  2. Use the Admin Editor action to open the /etc/rmmount.conf file for editing.

  3. Add an action to automatically launch a CD player.

    The following example shows how the Security Administrator role could make an action in rmmount.conf for a CD player called workman installed in /usr/bin.


    action cdrom action_workman.so /usr/bin/workman
    
  4. Save and close the file.


    $ :wq