CodePudding user response:
With root privileges to run the programCodePudding user response:
You are the command to run the ls, for example,You can echo "user password" | sudo ls
Or use first echo "root password" | su into the root
Execute the command again