After upgrade, create website show error | sudo: cat: command not found — CyberPanel - WebHosting Control Panel for OpenLiteSpeed
CyberHosting

After upgrade, create website show error | sudo: cat: command not found

Hello,

I'm just upgrade today and test create website has show error sudo: cat: command not found

Are there anyone meet this case ?

How to check and fix this issued ?

THanks all,
Tagged:
Tagged:

Comments

  • make sure sudo command line is installed in the server
    if not install by yum install sudo -y for centos
  • sudo already installed on server.

    [[email protected] ~]# yum install sudo -y
    Loaded plugins: copr, fastestmirror, priorities
    Loading mirror speeds from cached hostfile
    * base: centos-hcm.viettelidc.com.vn
    * epel: download.nus.edu.sg
    * extras: centos-hcm.viettelidc.com.vn
    * updates: centos-hcm.viettelidc.com.vn
    10 packages excluded due to repository priority protections
    Package matching sudo-1.8.23-10.el7_9.1.x86_64 already installed. Checking for update.
  • I was reload VPS and reinstall latest version, error still show

    Linux centos7 3.10.0-1160.15.2.el7.x86_64 #1 SMP Wed Feb 3 15:06:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

    Sudoers I/O plugin version 1.9.5p2
    Sudoers audit plugin version 1.9.5p2

    Error : http://hinhso.com/out.php/i45744_Screenshotfrom20210315105319.png

    But website still create successfully
  • Update: i was reload into ubuntu version , it's normally but don't have full version PHP 5.x
  • Update 2: i was downgraded version sudo from 1.9.5p2 back to 1.8.3, everything work normally.

    sudo has Vulnerability and was fix, update latest to 1.9.5p2

    Here detail:

    https://www.sudo.ws/alerts/unescape_overflow.html

    So hope @CyberPanel update this at next version, support sudo 1.9.x
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!