Hello,

Is it possible to do the following with editfiles:

I have in /etc/fstab:

...
/dev/sda2               /tmp                    ext3   
defaults,nosuid,nodev,noexec        1 2
...

I would like to remove ',noexec' from this line only. I thought of
using LocateLineMatching to find the line, but am not sure how to do
the replacement.

Thanks for the help,

Viraj.


_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to