Open Source Development

 View Only

 can not rotate sudolog in syslog.conf

Hakim Boudjemil's profile image
Hakim Boudjemil posted Fri November 21, 2025 10:41 AM

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 ?