From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJing-0001y8-UQ for qemu-devel@nongnu.org; Thu, 14 Jan 2016 09:23:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJind-0004V2-J2 for qemu-devel@nongnu.org; Thu, 14 Jan 2016 09:22:56 -0500 Received: from relay.parallels.com ([195.214.232.42]:51711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJinc-0004UU-Qd for qemu-devel@nongnu.org; Thu, 14 Jan 2016 09:22:53 -0500 References: <1452081699-11894-1-git-send-email-den@openvz.org> From: "Denis V. Lunev" Message-ID: <5697AF2F.80404@openvz.org> Date: Thu, 14 Jan 2016 17:22:39 +0300 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v2 0/2] qga: guest-set-user-password - added ability to create new user List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= Cc: Yuri Pudgorodskiy , QEMU , Michael Roth On 01/14/2016 05:18 PM, Marc-André Lureau wrote: > Hi > > On Wed, Jan 6, 2016 at 1:01 PM, Denis V. Lunev wrote: >> These patches add optional 'create' flag to guest-set-user-password command. >> When it is specified, a new user will be created if it does not >> exist yet. >> > What's the motivation to re-use set-password instead of a new command? because we will have to change the password later on after addition of such user. Also this looks better for a case "create if not exists" and force new password. Den