-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
nixos/nixos-install: tell the user what to do if setting a root password failed #56790
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
nixos/nixos-install: tell the user what to do if setting a root password failed #56790
Conversation
6290a3f
to
81c8740
Compare
81c8740
to
67c1e98
Compare
@grahamc anything else to add? :) |
I think we should backport this one. |
67c1e98
to
9e1d174
Compare
@infinisil fixed. |
Oh and I guess the commit message should be |
…ord failed If setting a root password using the `passwd` call in the `nixos-install` script fails, it should be explained how set it manually to ensure that nobody gets accidentally locked out of the system.
9e1d174
to
eaf98c7
Compare
@infinisil fixed. And thanks for the review! |
@lheckemann @samueldr I consider this patch a candidate for backporting. As it touches the NixOS installer, I'm rather hesitant to backport without a review of at least one of you :) |
Talked to @lheckemann in person yesterday he told me to go for it with the backport. Now backported as ed21cf9. |
Motivation for this change
If setting a root password using the
passwd
call in thenixos-install
script fails, it should be explained how set it manuallyto ensure that nobody gets accidentally locked out of the system.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)