cli icon indicating copy to clipboard operation
cli copied to clipboard

Question: How to execute the install dotfiles command as root?

Open arnaupv opened this issue 2 years ago • 1 comments

Is there a way to execute the dotfile installation command (default: ./install.sh) as root? (more info #589 about the installation command).

Currently I'm setting the remoteUser as root for doing such thing, but I'm wondering if this can be done from the command line. Based on the arguments present in the devcontainer up --help. this is not possible.

arnaupv avatar Jul 07 '23 14:07 arnaupv

If the container allows for sudo without password, the install.sh could use that.

chrmarti avatar Jul 28 '23 12:07 chrmarti