mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Fix salt length
This commit is contained in:
2
setup.sh
2
setup.sh
@@ -554,7 +554,7 @@ else
|
||||
elif [ "$md5pass" = "1" ]; then
|
||||
$perl -e 'print "$ARGV[0]:",crypt($ARGV[1], "\$1\$$ARGV[2]"),":0\n"' "$login" "$password" "$salt8" > $ufile
|
||||
else
|
||||
$perl -e 'print "$ARGV[0]:",crypt($ARGV[1], $ARGV[2]),":0\n"' "$login" "$password" "$salt8" > $ufile
|
||||
$perl -e 'print "$ARGV[0]:",crypt($ARGV[1], $ARGV[2]),":0\n"' "$login" "$password" "$salt2" > $ufile
|
||||
fi
|
||||
fi
|
||||
chmod 600 $ufile
|
||||
|
||||
Reference in New Issue
Block a user