Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  sudolog rotation issue in syslog.conf

    Posted 22 days ago

    Hello,

    Could you help me with syslog using sudo in a PowerHA cluster?

    Indeed, we have log rotation enabled in syslog.conf for sudolog but the log is not getting rotated.

    rpm -qa | grep sudo

    sudo-1.8.13-1.ppc

    oslevel -s -> 7100-05-11-2246

    sudo -l
    Matching Defaults entries for root on rmubbpfsp1004:
        loglinelen=0, logfile=/var/log/sudolog, ignore_dot, !mail_no_user, root_sudo, log_host, logfile=/var/log/sudolog,
        timestamp_timeout=5

    User root may run the following commands on rmubbpfsp1004:
        (ALL) ALL

    We could find the entry for sudolog rotation in syslog.conf

    But the sudolog is not getting rotated. The logs are stored in same file 'sudolog'.

    We need to identify what is missing ?

    Thanks in advance for your ideas ?



    ------------------------------
    Sincerely,
    HBO
    ------------------------------


  • 2.  RE: sudolog rotation issue in syslog.conf

    Posted 20 days ago

    Hi!

    Did you saw my reply to your earlier post?

    Best regards,

      Alexander



    ------------------------------
    Alexander Reichle-Schmehl
    ------------------------------



  • 3.  RE: sudolog rotation issue in syslog.conf

    Posted 20 days ago

    Hi Alexander,

    Yes, I saw it, but I don't know why I couldn't reply to you.

    So thank for your reply, I really appreciate.

    I'm a beginner with syslog and I don't know how to do it at all. Is it via `sudo -l` 
     
    If you can help me, I would be very grateful.
     
    Thanks for your support



    ------------------------------
    Sincerely,
    HBO
    ------------------------------