qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] qemu-ga: implement win32 guest-set-user-passwor


From: Daniel P. Berrange
Subject: Re: [Qemu-devel] [PATCH] qemu-ga: implement win32 guest-set-user-password
Date: Wed, 26 Aug 2015 10:34:51 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Tue, Jun 30, 2015 at 04:37:13PM +0200, Marc-André Lureau wrote:
> Use NetUserSetInfo() to set the user password.
> 
> This function is notoriously known to be problematic for users with EFS
> encrypted files. But the alternative, NetUserChangePassword() requires
> the old password. Nevertheless, The EFS file should be recovered by
> changing back to the old password.
> 
> Signed-off-by: Marc-André Lureau <address@hidden>
> ---
>  configure            |  2 +-
>  qga/commands-win32.c | 77 
> ++++++++++++++++++++++++++++++++++++++++++++++++++--
>  2 files changed, 76 insertions(+), 3 deletions(-)

Reviewed-by: Daniel P. Berrange <address@hidden>


For reference, I compared with MS recommendations here

  https://support.microsoft.com/en-us/kb/151546

and this looks correct for way to administratively change passwords
without knowing the original password.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|



reply via email to

[Prev in Thread] Current Thread [Next in Thread]