Xymon Mailing List Archive search

monitoring etc passwd

list dOCtoR MADneSs
Wed, 08 Jul 2009 13:48:02 +0200
Message-Id: <user-db6ea639f0d6@xymon.invalid>

Shaun Phillips a écrit :
If you do monthly root password changes this is going to send your entire estate red surely as the MD5 will change?

On Wed, Jul 8, 2009 at 9:02 AM, dOCtoR MADneSs <user-d54077869176@xymon.invalid <mailto:user-d54077869176@xymon.invalid>> wrote:

    user-cf452ff334e0@xymon.invalid <mailto:user-cf452ff334e0@xymon.invalid> a écrit :

        Gavin,

        Use the FILE client check to determine and possibly alert when a
        file (/etc/passwd) has been changed.

        ---- Gavin Leonard <user-d65663809eb4@xymon.invalid
        <mailto:user-d65663809eb4@xymon.invalid>> wrote:

            Hi All,
                           I am having a problem where users and groups
            are being created without the knowledge of the admin team
            and its making it difficult to know who had access to what
            systems if they leave the company... is there a way for
            hobbit to tell me when the /etc/passwd or /etc/group files
            change? Thanks in Advance..

            -Gavin


    Hi,

    In client-local.cfg :
    [your_host]
    file:/etc/passwd
    in hobbit-clients.cfg :
    HOST=your_host
    FILE /etc/passwd red MD5=9780JNLKNoiulknaée2

    Those settings should do exactly what you need

Yes, of course every authorized changes in /etc/passwd MD5sum must be passed to hobbit-clients.cfg