How can I check the immutable flag using VCM?

So the VCM is patching our Oracle Linux big servers now (thanks 5.7.2) However there is a problem.

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

I am looking for a way to automate this...

How can I create a compliance model to run a lsattr command to verify if the immutable flag is set on/boot/grub.conf, and can deal with a remote control?

Appreciate the help.

Steve

Hi Steve,.

First of all, it not there no easy way in VCM (using the default file structure data class) to get the little extended as immutable properties file. VCM now collects information may be collected using the command ls only.

But, something known as a Type of custom information that can be exploited to run system commands and parse the output of the command to use the compliance data facilitate the VCM. However, please note that these data would *NOT* be available for automated remediation. If you're ok, read more:

I guess that's for file /boot/grub/grub.conf only. I also assume you're on VCM 5.7.2.

This would require steps below:

(1) create a kind of personalized information (CIT)

(2) collection of data using information on file /boot/grub/grub.conf personalized data class

(3) check the data collection in the VCM console | UNIX | Custom information node

(4) write the compliance rule and run the model

(5) verify the results

These steps are described in the attachment. Please let me know if you need further information.

Thank you and best regards,

Pravin Goyal

Tags: VMware

Similar Questions

  • How can I check the levels of ink on deskjet 2050 on Windows 8?

    How can I check the levels of ink on deskjet 2050 on Windows 8?

    Hello

    If you do not have the full features software download and follow HP printer Installation Wizard to obtain and install the latest version of the software automatically:

    http://h10025.www1.HP.com/ewfrf/wc/softwareDownloadIndex?cc=us & LC = on & JumpID = ex_r4155/HHO/IPG/ccdoc/piw / & softwareitem = MP-115766-2

    Once you have the complete software use the Hp software to locate the estimated ink levels, you can access it from Windows 8 start screen by clicking on the icon HP Deskjet 2050:

    http://support.HP.com/us-en/document/c02049595

  • How can I check the disc for physical integrity on Satellite P305?

    I have P305-S8838.

    I had some freezing problems earlier this month, and on the notice here, I nu start-up and reduced services a little at a time.
    Now, I have a few more crash but don't know if it's a physical disk problem.

    For example... I have run CHKDSK and does many things and happens at the exact same spot and hangs at step 4 file 5 3498 or 421168 processed.

    I tried to run CHKDSK in SafeMode but tells me drive is locked and it will run when I restart. But the restart put back me in normal mode and get the same hang.

    Now, for more suspicion of a physical problem. I tried to make a disk image with ACronis and same problem occurs because he says impossible to reading data 226 964, 072 sector and ask if I want to ignore and continue. I say yes to everything. Log shows he made about three of these attempts and crashes.

    I ran sfc/scannow and it says found problems that he was unable to fix. The newspaper isn't so long and complex course that all means. I could send these log files if someone can help me understand.

    I ran the test of memory OK.

    I if I could put in DVD Toshiba and certain diagnoses, but when I put in the disk I get this big warning I'll crush, etc and I have chicken.

    This didn't stop me to use the computer, but its all irritating.

    How can I check the disc for physical integrity?

    Bob

    Hello

    He idea goo to check the HARD disk and run some diagnostic procedures.
    For this, I recommend the freeware tool called Drive Fitness Test.
    It allows you to check the HARD disk for certain physical defects.

    Google for this tool. You can get it from multiple pages download

  • How can I check the Apple on Apple Watch pay transactions

    I use Apple Watch to pay for public transit.

    How can I check the transactions I do using Apple Watch?

    Hello

    It is not currently possible to view your transaction history pay Apple on Apple Watch. Confirmation of transactions is provided timely via your card / bank statements (as it would if you were using the card directly).

    Apple pay collects no information concerning the transaction that can be linked to you. Payment transactions are between you and the Merchant (or the application for payments within applications developer) and your card issuer.

    If you have the same payment card added to pay Apple on an iPhone or an iPad, then it is possible that payments made through this same map on your watch can be included in the history of transactions (the last 10 transactions) that is displayed in the application portfolio on your other devices. Depending on the issuer of your card:

    • You can only view transactions made with this device, or;
    • You can see all transactions made using this payment card account (including its use via Apple pay on all devices and the use of the actual card).

    When you view a map in the application of portfolio (by pressing the card), the latest transaction will appear under the photo on the card. To see the 10 last transactions, then press the 'i' icon in the bottom right of the screen.

    If you prefer that the transaction history is available on your watch, you can inform Apple here:

    https://www.Apple.com/feedback/Apple-pay.html

  • How can I check the ink levels in my printer HP3050, 610 a?

    How can I check the ink levels in my printer HP3050, 610 a? OS = Win7

    Hi deaconjon;

    Hope you are doing well and I'm sorry to hear that you're having this problem;

    Please specify when you follow these steps, click the Windows icon, click all programs , click HP, click the folder for your HP product, then click the icon for your HP product and the product software, double-click estimated ink levels. You can't see the correct ink levels

    Read this and consider taking this step click here

    It may be useful
    RobertoR

  • How can I check the toner level in my HP Laserjet 1320 with driver W7?

    Original title: HP Laserjet 1320

    How can I check the toner level in my HP Laserjet 1320 with driver W7?

    You probably can't, HP does not have software win7 / drivers, so you use drivers win7 default, which has all the features of the HP software

  • How can I check the version of database?

    How can I check the version of database if it uses inside my PL/SQL block?

    Use sql in your pl/sql block.

    Select * from version £ v

  • Our office has 10 licenses for Adobe Acrobat Pro.  One of our computers crashed so we want to deactivate the license and reinstall on a new computer.  How can we check the serial number on Acrobat Pro installed on each computer to determine which series

    Our office has 10 licenses for Adobe Acrobat Pro.  One of our computers crashed so we want to deactivate the license and reinstall on a new computer.  How can we check the serial number on Acrobat Pro installed on each computer to determine what serial number is now unused?  I don't want to die with the computer software

    Hi John,.

    It is not possible to disable the license from one computer crashed or possible to check which serial number has been used on computer because they are encrypted.

    A retail license is good to be installed on 2 machines. I checked your account and found 4 different serial numbers of Acrobat registered for your account.

    It is always suggested to buy a volume license, if you have more than 2 machines instead of buy 4 different serial numbers.

    I checked all the serial numbers entered and you have sufficient activation count remaining to cover all your machines.

    Kind regards

    Rave

  • How can I check the version of the rdf file?

    Hi all:
    How can I check the version of the rdf file? This kind of CEXRECRE.rdf.

    my environment is: oracle 11.5.9
    platform: Linux red hat 4.0





    Concerning
    Terry

    Terry,

    Use "adident" or "strings - a ' commands - see (Note: 125922,1 - how to find Oracle Application File Versions) for more details.

    Thank you
    Hussein

  • How can I disable the newtab most used feature display sites. I want the new tab to open the page displayed in the newtab:url in the topic: function config

    How can I disable the newtab most used feature display sites. I want the new tab to open the page displayed in the newtab:url in the topic: function config

    41 of Firefox is no longer uses the browser.newtab.url setting in about: config because he was constantly attacked by malware. From 41 of Firefox, you need an add-on to change the new tab page.

    Here are a few options (I'm learning more all the time):

    • If you are already using the extension classic restaurateur theme: There is an option somewhere (!) in his dialogues of the parameters to select another page in the new tab.

    Setting up substitute again tab

    After installing this extension, you must use the Options page to set the new desired tab page (instead of use subject: config).

    Open the page modules using either:

    • CTRL + SHIFT + a (Mac: Cmd + shift + a)
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. Then on the side right, find the new tab override and click the Options button. (See first screenshot attached).

    Depending on the size of your screen, you may need to scroll down to enter the address in the form. (See second screenshot attached). For example:

    • (Default) page thumbnails = > subject: newtab
    • Blank tab = > subject: empty
    • Built-in Firefox homepage = > topic: welcome
    • Any other page = > full URL of the page

    Then tab or click this form field and you can test using Ctrl + t.

    Success?

    Once you have set it as you wish, you can close the Add-ons page (or use the back button to return to the list of Extensions of this Options page).

  • How can I check the ability in my device

    How can I check the ability in my camera Ipad air2 128GB?

    GO to settings and then go to storage & ICloud and then you can check how much fear!

    Apples G.

  • How can I check the addons allowed / tool boxes installed in the LabVIEW environment controls palette?

    Hi all

    I allowed for students to install the version of LABVIEW. I'm new to the LabVIEW.
    I installed license Toolkit LabVIEW Digital Filter Design in my laptop. But I can't find the options of digital filter in treatment of the signal from the controls palette. Its not there despite the installation. I checked in the license OR Manager he said toolkit Digital filter design has been enabled for this computer.
    Can someone please help locate specific digital filter of this Toolbox options? How can I check the functions in the range control to the Toolbox, I installed?

    Thank you

    IHAVE license fot the following content:
    LabVIEW Student development environment
    LabVIEW Toolkit for LEGO MINDSTORMS NXT
    (Installed) LabVIEW Control Design and Simulation Module
    LabVIEW MathScript RT module
    LabVIEW System Identification Toolkit
    Toolkit LabVIEW Digital Filter Design (installed)
    LabVIEW Modulation Toolkit
    LabVIEW SignalExpress
    Module OR Vision Development
    NEITHER Vision Acquisition Software
    OR DIAdem Student Edition (installed)
    (Installed) NI LabVIEW Real-time module
    OR LabVIEW FPGA Module (installed)
    LabVIEW database and control Module
    LabVIEW Mobile module
    LabVIEW PID and Fuzzy Logic Toolkit
    LabVIEW Robotics module
    LabvIEW Simulation Interface Toolkit
    LabVIEW SoftMotion
    LabVIEW Statechart Module
    Motion Control and Motion Assistant

    Hello

    LabVIEW 2014 32-bit, he will find-> design of digital filters signal processing.

    In Labview 2014 64-bit, I can find it or the other. I know that some tools are not supported in LV 64-bit.  I couldn't find documentation on the system requirements for this toolkit so I could not say it, maybe you can change at LV 32 bits?

    Good luck

    Danielle

  • How can I get the keyboard to use only English punctuation

    Laptop HP 2000-300 CA... How can I prevent the keyboard from using the punctuation french when I try to use the English apostrophe, or question marks is what I get when I try to type an exclamation mark E

    I have a Canadian keyboard that gives me some English and french of the characters. I went to the U.S. English keyboard, rebooted and it seems to work. I saw the site you provided however, and if my current solution does not last long... you can be sure to find me on your Web site. Thank you for taking the time to answer.

  • How can I check the ink level in the cartridge on my Deskjet 5550?

    How can I check the level of ink in the cartridges on my Deskjet 5550 printer? Mahlon R. Hoover

    Hi MAHLON RHOOVER,.

    You can check the following HP help guide to address the same.

    How to HP Deskjet 5550 Color inkjet printer

    You can also consult the manual or contact HP.

    Inkjet HP Deskjet 5550 Color printer

  • How can I check the status of the warranty of my computer laptop vaio?

    How can I check the status of the warranty of my computer laptop vaio?

    alexhrdata,

    Please see this post.

Maybe you are looking for