From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LfWkd-0000UB-TU for qemu-devel@nongnu.org; Fri, 06 Mar 2009 04:53:55 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LfWkc-0000ST-0H for qemu-devel@nongnu.org; Fri, 06 Mar 2009 04:53:55 -0500 Received: from [199.232.76.173] (port=48222 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfWkb-0000SK-Sg for qemu-devel@nongnu.org; Fri, 06 Mar 2009 04:53:53 -0500 Received: from mx1.redhat.com ([66.187.233.31]:43372) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LfWkb-0003rP-IH for qemu-devel@nongnu.org; Fri, 06 Mar 2009 04:53:53 -0500 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n269rqmc016235 for ; Fri, 6 Mar 2009 04:53:52 -0500 Received: from file.fab.redhat.com (file.fab.redhat.com [10.33.63.6]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n269rsXn001799 for ; Fri, 6 Mar 2009 04:53:55 -0500 Received: from file.fab.redhat.com (localhost.localdomain [127.0.0.1]) by file.fab.redhat.com (8.13.1/8.13.1) with ESMTP id n269rp39018531 for ; Fri, 6 Mar 2009 09:53:51 GMT Received: (from berrange@localhost) by file.fab.redhat.com (8.13.1/8.13.1/Submit) id n269rpBt018527 for qemu-devel@nongnu.org; Fri, 6 Mar 2009 09:53:51 GMT Date: Fri, 6 Mar 2009 09:53:51 +0000 From: "Daniel P. Berrange" Subject: Re: [Qemu-devel] [PATCH] support for unsetting the VNC password from the monitor. Message-ID: <20090306095351.GB19083@redhat.com> References: <1236295121.7115.152.camel@voxel> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1236295121.7115.152.camel@voxel> Reply-To: "Daniel P. Berrange" , qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Thu, Mar 05, 2009 at 03:18:41PM -0800, Nolan wrote: > Anthony wrote: > > Nolan wrote: > > > Add monitor support for setting the VNC password to "", disabling VNC. > > > > > > The magic sentinel value is "<>" which is not a valid VNC > > > password by virtue of being 9 characters long. > > > > That's a little too magical for me. If you want to disable VNC, can't > > you just say change vnc none? > > If you start with "-vnc :0,password", you will have no password set > (thus logins are disabled), but qemu is listening on the port (keeping > it occupied). > > "vnc change none" will close the socket. The intent of "change vnc > password <>" is to leave the socket open, but disallow logins > until the password is reset. Basically the goal is to provide a way to > get back into state we were in immediately after process start. This is > currently possible with the interactive "change vnc password" command, > but not possible with the non-interactive variant. How about just making it parse quotes for the password, so you could do change vnc password "" and thus have it set to the empty string. This would also let people have passwords with spaces in them Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|