How do I add the noexec option to mount for cdrom device on Red Hat Enterprise Linux 5?
Updated -
First, create a user policy directory as shown below:
$ cd /usr/share/hal/fdi/policy/
$ mkdir 95userpolicy
$ cd 95userpolicy
Then, add a policy file as shown below:
File: /etc/hal/fdi/policy/95userpolicy/removablentfs.fdi
<?xml version="1.0" encoding="UTF-8"?>
<!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<mat...
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.