Run a specific command with root password prompt even if running as root
I want to run a specific command, such as rm, while logged in as root, but I want the root password prompt to be shown every time. When I run su -c "command" as root, I was not prompted for a password.
No comments:
Post a Comment