Quantcast
Channel: VMware Communities : All Content - vRealize Operations Manager
Viewing all articles
Browse latest Browse all 5485

How do I check the immutable flag using VCM?

$
0
0

So VCM is patching our Oracle Linux servers great now (thank you 5.7.2) however there is an issue.

 

On some of our servers the immutable flag is set on grub.conf.  This is simple to fix.  Just do a "chattr -i /boot/grub.conf" and we're on our way.

 

I'm looking for a way to automate this....

 

How can I create a compliance template to run a lsattr command to check to see if the immutable flag is set on /boot/grub.conf and, can I remediate that with a remote command?

 

Appreciate the help.

 

Steve


Viewing all articles
Browse latest Browse all 5485

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>