From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sr8DF-0003Er-8P for qemu-devel@nongnu.org; Tue, 17 Jul 2012 09:53:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sr8DA-0001HO-Ub for qemu-devel@nongnu.org; Tue, 17 Jul 2012 09:53:17 -0400 Message-ID: <50056E43.1060106@redhat.com> Date: Tue, 17 Jul 2012 15:53:07 +0200 From: Kevin Wolf MIME-Version: 1.0 References: <3d1ec0fd89b439e704cc1f6d2e7b841a64cecb47.1342436496.git.minovotn@redhat.com> In-Reply-To: <3d1ec0fd89b439e704cc1f6d2e7b841a64cecb47.1342436496.git.minovotn@redhat.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] qemu-options.hx: Fix set_password and expire_password description List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pavel Hrdina Cc: qemu-trivial@nongnu.org, Michal Novotny , qemu-devel@nongnu.org Am 16.07.2012 15:19, schrieb Pavel Hrdina: > From: Michal Novotny > > The description for set_password and expire_password commands is > incomplete. This patch fixes the man page that is being generated > to match the real behaviour of these functions. > > Signed-off-by: Michal Novotny > --- > qemu-options.hx | 17 +++++++++++++++-- > 1 file changed, 15 insertions(+), 2 deletions(-) This one probably qualifies for qemu-trivial, copied the list. Kevin > > diff --git a/qemu-options.hx b/qemu-options.hx > index ecf7ca1..679e3ca 100644 > --- a/qemu-options.hx > +++ b/qemu-options.hx > @@ -1030,8 +1030,21 @@ is a TCP port number, not a display number. > @item password > > Require that password based authentication is used for client connections. > -The password must be set separately using the @code{change} command in the > -@ref{pcsys_monitor} > + > +The password must be set separately using the @code{set_password} command in > +the @ref{pcsys_monitor}. The syntax to change your password is: > +@code{set_password } where could be either > +"vnc" or "spice". > + > +If you would like to change password expiration, you should use > +@code{expire_password } where expiration time could > +be one of the following options: now, never, +seconds or UNIX time of > +expiration, e.g. +60 to make password expire in 60 seconds, or 1335196800 > +to make password expire on "Mon Apr 23 12:00:00 EDT 2012" (UNIX time for this > +date and time). > + > +You can also use keywords "now" or "never" for the expiration time to > +allow password to expire immediately or never expire. > > @item tls >