Re: How To Log Password Change

From: Jose Maria Lopez Hernandez (jkerouac_at_bgsec.com)
Date: 08/27/04

  • Next message: Neil Zanella: "xhost/xauth stuff: question"
    Date: Fri, 27 Aug 2004 23:30:40 +0200
    
    

    Bob Holding wrote:
    > There have been a few posts about this, but no answer...
    >
    > Fedora Core 1 will send a bad password change to syslog, but not a
    > vanilla password change... Any suggestions on how I can log regular
    > password changes?
    >
    > My first thought was to modify the source to passwd. So, I grabbed
    > the source, did a grep on the text that a bad password change makes,
    > but nothing pops up... So, then I looked at passwd.c, then I saw a
    > bunch of PAM references, but I don't know how to send a successful
    > password change to syslog...
    >
    > Any suggestions?

    If you like hacks then you can write a wrapper for passwd that logs the
    password change with logger to the system logs and then pass the command
    arguments to the real passwd.

    -- 
    Jose Maria Lopez Hernandez
    Director Tecnico de bgSEC
    jkerouac@bgsec.com
    bgSEC Seguridad y Consultoria de Sistemas Informaticos
    http://www.bgsec.com
    ESPAŅA
    The only people for me are the mad ones -- the ones who are mad to live,
    mad to talk, mad to be saved, desirous of everything at the same time,
    the ones who never yawn or say a commonplace thing, but burn, burn, burn
    like fabulous yellow Roman candles.
                     -- Jack Kerouac, "On the Road"
    

  • Next message: Neil Zanella: "xhost/xauth stuff: question"

    Relevant Pages

    • Re: syslog analyse
      ... Jean-Pierre DAVIDOU wrote: ... it makes a report from the syslog ... The only people for me are the mad ones -- the ones who are mad to live, ... the ones who never yawn or say a commonplace thing, but burn, burn, burn ...
      (comp.security.firewalls)
    • Re: How To Log Password Change
      ... > vanilla password change... ... Any suggestions on how I can log regular ... > source, did a grep on the text that a bad password change makes, but ... > change to syslog... ...
      (comp.os.linux.security)
    • How To Log Password Change
      ... Fedora Core 1 will send a bad password change to syslog, ... vanilla password change... ... the source, did a grep on the text that a bad password change makes, ... password change to syslog... ...
      (comp.os.linux.security)