1
0
mirror of synced 2026-04-24 19:50:09 +00:00

Use md5 as default hash method again

Older Debian releases are not able to cope with sha256 hashed
passwords and refuse login without any visible or accessible error
message.

This only affects the initially set root password and does not affect
passwords which are later set with the DomU's "passwd" tool.
This commit is contained in:
Axel Beckert
2015-06-11 22:58:09 +02:00
parent 07d68bb448
commit 0ca84fa1a5
2 changed files with 4 additions and 1 deletions

View File

@@ -1294,7 +1294,7 @@ sub setupDefaultOptions
$CONFIG{ 'genpass' } = 1;
$CONFIG{ 'genpass_len' } = $default_genpass_len;
$CONFIG{ 'password' } = undef;
$CONFIG{ 'hash_method' } = 'sha256';
$CONFIG{ 'hash_method' } = 'md5';
#
# The program to run to create a filesystem.

3
debian/changelog vendored
View File

@@ -23,6 +23,9 @@ xen-tools (4.5+dev-1) UNRELEASED; urgency=medium
versions which don't know either (but accept any Foo=Bar parameter
to "-o"). Allows one to install earlier Debian releases (e.g. Etch)
with the default configuration again.
+ Use md5 as default hash method again, to be able to properly set
passwords in older releases. Does not affect passwords changed later
inside the DomU.
* Update Vcs-* headers as Gitorious will close its doors in June.
* Recommend debian-archive-keyring (for installing Debian DomUs on
derivatives) and ubuntu-archive-keyring (for installing Ubuntu DomUs