-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Milestone
Description
Problem: I must have upgraded something during today and at some point I could no longer sudo. I rebooted and couldn't log in. Checking /etc/shadow showed all accounts were locked with ! passwords.
Workaround: I rebooted into the NixOS live CD, mounted the partition, removed the 'x' from /etc/passwd for root (to disable pass encryption), found the passwd binary in the mounted Nix store and changed the password for root. This let me log in and change my user account.
Configuration: I had users.mutableUsers = false which I think was recently changed (I've now flipped this in my config, to ensure this doesn't happen in the future) and I'm using NixOS unstable which I built some time today (11/11/2014)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS