sudo
switches users and then executes bash
, passing it the other arguments. bash
running as the new user runs the command in the argument after -c
.
3
solved What happens when I sudo bash -c? [closed]
sudo
switches users and then executes bash
, passing it the other arguments. bash
running as the new user runs the command in the argument after -c
.
3
solved What happens when I sudo bash -c? [closed]