-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
feat: Adding flag for using sudo instead of root user #446
Comments
Please provide
|
I wanna be able to disable the root login and use the ssh agent and yes this error makes sense that's why i did the feature request. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Problem
When installing NixOS to a remote server, one may use a minimal ISO, which disables root login for security reasons. In this case, nixos-anywhere will always fail, even when the remote sudo binary can be used.
Proposed Solution
Similar to how nix build does it, a
--use-remote-sudo
flag could be implemented.The text was updated successfully, but these errors were encountered: