Re: Program Logging.

From: Todd H. (comphelp_at_toddh.net)
Date: 05/11/04

  • Next message: Barry Margolin: "Re: Program Logging."
    Date: 11 May 2004 11:59:10 -0500
    
    

    mforte3@bloomberg.net (contextswitch) writes:

    > I need to log UID GID EUID EGID program name,arguments, and time run
    > across Solaris, AIX and HP-UX platforms. For example, every time a
    > user or program runs rcp I need a log entry generated which includes
    > the above information.
    > root other root other ./rcp foo Thu May 06 16:34:53 2004
    > Are there any known tools which will acomplish this? Thanks.

    Have you looked into syslog? If your syslog logging level is
    sufficiently verbose, you may get the tracking you wish for free.

    There are several man pages available for syslog and its accompanying
    .conf file.

    Best Regards,

    -- 
    Todd H.
    http://www.toddh.net/
    

  • Next message: Barry Margolin: "Re: Program Logging."

    Relevant Pages

    • Re: logging proftpd question
      ... I tried your suggestion previous to my posting, ... I just wonder if the line I just mention takes the log entry, ... it go to multiply files? ... I have tried running syslog with -d and -vv and there seems to be no ...
      (freebsd-questions)
    • [SLE] Configuring syslog to add message ID and facil.pri to log entries
      ... solaris adds a syslog message ID and facility/priority field to each log entry like ...
      (SuSE)
    • Re: Syslog vs file
      ... > If the file system starts to fill up, most implementations of syslog ... > stop logging rather than bringing the system to a screeching halt. ... > system error messages and exact line which caused the log entry. ... > Reinventing the wheel is poor form. ...
      (comp.lang.php)
    • Re: Program Logging.
      ... >> I need to log UID GID EUID EGID program name,arguments, and time run ... >> user or program runs rcp I need a log entry generated which includes ... If your syslog logging level is ... What the OP should look into is process accounting. ...
      (comp.security.unix)