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

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


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,


  • 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:
    * epel:
    * extras:
    * updates:
    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 :

    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:

    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!