From: "Daniel P. Berrange" <berrange@redhat.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] support for unsetting the VNC password from the monitor.
Date: Fri, 6 Mar 2009 09:53:51 +0000 [thread overview]
Message-ID: <20090306095351.GB19083@redhat.com> (raw)
In-Reply-To: <1236295121.7115.152.camel@voxel>
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 :|
next prev parent reply other threads:[~2009-03-06 9:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-05 23:18 [Qemu-devel] [PATCH] support for unsetting the VNC password from the monitor Nolan
2009-03-06 9:53 ` Daniel P. Berrange [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-03-06 22:34 Nolan
2009-03-09 10:02 ` Daniel P. Berrange
2009-03-05 4:24 Nolan
2009-03-05 20:28 ` Anthony Liguori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090306095351.GB19083@redhat.com \
--to=berrange@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).