nixos-install: use absolute path when running passwd in chroot
This commit is contained in:
parent
59ad713288
commit
a1ded5c20e
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ chroot $mountPoint /nix/var/nix/profiles/system/activate
|
|||
# Ask the user to set a root password.
|
||||
if [ -t 0 ] ; then
|
||||
echo "setting root password..."
|
||||
chroot $mountPoint passwd
|
||||
chroot $mountPoint /var/setuid-wrappers/passwd
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue