qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] support for unsetting the VNC password from the


From: Daniel P. Berrange
Subject: Re: [Qemu-devel] [PATCH] support for unsetting the VNC password from the monitor.
Date: Fri, 6 Mar 2009 09:53:51 +0000
User-agent: Mutt/1.4.1i

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 "<<unset>>" 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 <<unset>>" 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 :|




reply via email to

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