svn path=/nixos/trunk/; revision=22111

This commit is contained in:
Eelco Dolstra 2010-06-02 23:02:09 +00:00
parent 48255afa61
commit 6676bbe61d

View File

@ -182,7 +182,7 @@ in
''${createHome:+--create-home} \
"$name"
if test "''${password:0:1}" = 'X'; then
echo "''${password:1}" | ${pkgs.shadow}/bin/passwd --stdin "$name"
(echo "''${password:1}"; echo "''${password:1}") | ${pkgs.shadow}/bin/passwd "$name"
fi
else
#echo "updating user $name..."