AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only

sudolog rotation issue in syslog.conf

  • 1.  sudolog rotation issue in syslog.conf

    Posted 12 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
    ------------------------------