revert chpaddwd changes

This commit is contained in:
udeved 2014-12-16 01:58:16 +01:00
parent bda94c4e50
commit 73f6964f22

View file

@ -437,7 +437,7 @@ configure_user(){
configure_user_root(){
# set up root password
msg2 "Setting root password ${password} ..."
local _cmd=echo "$(gen_pw):root"
local _cmd=echo "root:$(gen_pw)"
msg2 "Command string: $_cmd"
chroot-run $1 $_cmd | chpasswd
}