Skip to main content

Self-modifying coreutils

Comments

6 comments

  • vanessa
    Check /var/log/yum to verify if the package was installed or upgraded before you did so yourself. cPanel does not modify these binaries, so this isn't really looking very good from a security perspective.
    0
  • sparek-3
    See if any prelinking has been done. Do you have a /var/log/prelink/prelink.log file? Do you have a /etc/cron.daily/prelink file?
    0
  • Flyer
    Yes, /etc/cron.daily/prelink is run from /etc/anacrontab with these parameters: RANDOM_DELAY=45 START_HOURS_RANGE=3-22 1 5 cron.daily nice run-parts /etc/cron.daily The log file was created at 03:43, which would explain why LFD reported the file system changes at 04:00. I think you've put my mind at rest, but I'd already reinstalled a few RPMs today, to check if their contents got modified again. Now that you've revealed the mechanism to me, I'll be able to check the log file in the morning to confirm that this is the case. Thank you very much!
    0
  • cPanelPeter cPanel Staff
    Hello, Please see my post here regarding disabling Prelinking.
    0
  • Flyer
    I've disabled prelinking, as documented in your post. I note that later you also suggest SELinux should be disabled. Do I have to be aware of any side-effects if I set SELINUX=disabled in /etc/sysconfig/selinux? Thanks
    0
  • cPanelMichael
    Do I have to be aware of any side-effects if I set SELINUX=disabled in /etc/sysconfig/selinux?

    Hello :) We have a section SELinux just below the "Operating System" section of our system requirements document: Installation Guide - System Requirements - Documentation - cPanel Documentation It provides a link to additional SELinux documentation as well. Thank you.
    0

Please sign in to leave a comment.