Error running remote commands

I’m trying to use the remote API but I get this message from the server:
“You are not allowed to run remote commands”

I have authenticated as root. Is there some other configuration I need to do?

I’m using 3.39.gpl.