qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: VNC Password


From: Laurent Vivier
Subject: Re: [Qemu-devel] Re: VNC Password
Date: Thu, 23 Oct 2008 17:45:36 +0200

Le jeudi 23 octobre 2008 à 17:10 +0200, François Revol a écrit :
> > Volkan YAZICI wrote:
> > > On Thu, 23 Oct 2008, Gerd Hoffmann <address@hidden> 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.

but everyone can see it with a "ps -ef".

> 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)

ditto

> Alike, the real password won't be stored inthe history.
> 
> man bash should help :)
> 
> François.
> 
> 
> 
-- 
------------------ address@hidden  ------------------
"Tout ce qui est impossible reste à accomplir"    Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard





reply via email to

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