Execute commands in Apache WHM terminal as root not work

Discussion in 'Apache' started by lapidus, Jan 20, 2023.

  1. #1
    I am logged in terminal via WHM and i am trying to execute some command. But i see message in terminal "Unable to run as root"

    How is that possible if i am logged as root in terminal that command can't be executed?
     
    Last edited: Jan 20, 2023
    lapidus, Jan 20, 2023 IP
  2. dascos

    dascos Member

    Messages:
    11
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    33
    #2
    Do you mean WHM = Web Host Manager?
    In that case, I think you're logged in as root user OF WHM, not root of machine, so maybe you have to use "sudo"
     
    dascos, Mar 29, 2023 IP