From e5dd3b08de331b14aee4f86eef373e3c900d8b61 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 18 Sep 2014 13:56:58 +0100 Subject: [PATCH] customize: Make usage of --password-crypto option clearer (RHBZ#1143949). --- generator/customize.ml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/generator/customize.ml b/generator/customize.ml index 275b0870a..439eb24a1 100644 --- a/generator/customize.ml +++ b/generator/customize.ml @@ -320,7 +320,9 @@ See also: L."; flag_ml_var = "password_crypto"; flag_shortdesc = "Set password crypto"; flag_pod_longdesc = "\ -Set the password encryption to C, C or C. +When the virt tools change or set a password in the guest, this +option sets the password encryption of that password to +C, C or C. C and C require glibc E 2.7 (check crypt(3) inside the guest). @@ -330,7 +332,13 @@ is not secure against modern attacks. The default is C unless libguestfs detects an old guest that didn't have support for SHA-512, in which case it will use C. -You can override libguestfs by specifying this option."; +You can override libguestfs by specifying this option. + +Note this does not change the default password encryption used +by the guest when you create new user accounts inside the guest. +If you want to do that, then you should use the I<--edit> option +to modify C (Fedora, RHEL) or +C (Debian, Ubuntu)."; }; { flag_name = "selinux-relabel"; flag_type = FlagBool false (* XXX - the default in virt-builder *);