Is there an operations change log?

Discussion in 'General' started by howwhi, Jan 8, 2010.

  1. howwhi

    Joined:
    Jun 11, 2009
    Messages:
    25
    Likes Received:
    0
    Suffer another newbie question please. First problem we have is more than one (ahem) cook logging in under "admin." Our bad. I'll fix _that_ next week. Is there a log of user/date/IP source of who is clicking the pink bar to Apply Configuration Changes?

    Thank you in advance.

    Howard
     
  2. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    from bash:

    grep "POST /admin/config.php HTTP/1.1" /var/log/httpd/ssl_access_log*


    might be indicative (that's one line).

    setting up different cooks will be even more so, add cook1 and cook2many give them all admin privileges, eliminate the admin login, blah blah blah

    then

    grep "POST /admin/config.php HTTP/1.1" /var/log/httpd/ssl_access_log*|awk '{print "At " $4$5 ", The Cook called " $3 " did something, maybe it was BAD!"}'|mail -s "Danger Will Robinson" someone@whocares.com

    is more usable perhaps as a cron job
     
  3. howwhi

    Joined:
    Jun 11, 2009
    Messages:
    25
    Likes Received:
    0
    TNX dicko. Wonder how many windoze users we scared off by pulling out grep and awk?? :)

    Howard
     
  4. rafael

    Joined:
    May 14, 2007
    Messages:
    1,454
    Likes Received:
    1
    nice solution dicko :)

    At the moment we don't have this functionallity in the front end. Someone whant to do a front end for Dicko's idea?

    Regards,

    Rafael
     

Share This Page