qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "François Revol" <revol@free.fr>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: VNC Password
Date: Thu, 23 Oct 2008 17:10:10 +0200 CEST	[thread overview]
Message-ID: <1345721627-BeMail@laptop> (raw)
In-Reply-To: <490074BD.6010403@redhat.com>

> Volkan YAZICI wrote:
> > On Thu, 23 Oct 2008, Gerd Hoffmann <kraxel@redhat.com> writes:
> >> <shameless plug>
> >> You might want to check out http://dl.bytesex.org/releases/qemu-gtk/
> > > > >> then.  It can deal with "-vnc $host:$display,password" just fine.
> > > Sets
> >> a random password via monitor, then connects to the vnc server
> > > using the
> >> password just set.  Password is never stored anywhere, it sets a
> > > new
> >> random one each time you start the ui to see the screen of your
> > > VM.
> >> </shameless plug>
> >
> > That's not something I'd want to use while I'm trying to get rid of
> > any
> > kind of X dependencies.
>
> qemu-gtk can handle that remotely too.  monitor must listen on tcp
> then
> though, which you might not want to do for security reasons ...
>
> Back to the original question: read password from file isn't
> implemented
> as far I know.

When I want to specify passwords on command line I usually do something
like:

read p
qemu ...,$p

That makes sure it's not stored in the history.

You can as well use read p < afile

If you really don't want to have the string as part of the environment
you can try command substitution...

qemu ...,$(cat afile)

Alike, the real password won't be stored inthe history.

man bash should help :)

François.

  reply	other threads:[~2008-10-23 15:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-23 10:24 [Qemu-devel] VNC Password Volkan YAZICI
2008-10-23 10:47 ` Daniel P. Berrange
2008-10-23 11:30   ` [Qemu-devel] " Volkan YAZICI
2008-10-23 11:50     ` Gerd Hoffmann
2008-10-23 12:07       ` Volkan YAZICI
2008-10-23 12:52         ` Gerd Hoffmann
2008-10-23 15:15         ` Anthony Liguori
2008-10-23 11:46 ` [Qemu-devel] " Gerd Hoffmann
2008-10-23 12:08   ` [Qemu-devel] " Volkan YAZICI
2008-10-23 12:57     ` Gerd Hoffmann
2008-10-23 15:10       ` François Revol [this message]
2008-10-23 15:45         ` Laurent Vivier
2008-10-24 11:06           ` François Revol
2008-10-24 11:20             ` Jamie Lokier
2008-10-24 11:47               ` François Revol
2008-10-24 12:02                 ` Gerd Hoffmann

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=1345721627-BeMail@laptop \
    --to=revol@free.fr \
    --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).