Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
arnaupv opened this issue Jul 7, 2023 · 1 comment
Open

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

arnaupv opened this issue Jul 7, 2023 · 1 comment

Comments

@arnaupv
Copy link

arnaupv commented Jul 7, 2023

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 arnaupv changed the title How to execute the install dotfiles command as root? Question: How to execute the install dotfiles command as root? Jul 7, 2023
@chrmarti
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants