I modified it to behave more like the TightVNC option (whereby short or
blank passwords are silently accepted) and checked it into the trunk.

On 7/9/10 4:09 AM, Antoine Martin wrote:
> On 07/09/2010 12:40 PM, Antoine Martin wrote:
>> On 07/09/2010 06:18 AM, DRC wrote:
>>> I would prefer it if the semantics were the same as the legacy vncpasswd
>>> from TightVNC, whereby passing an argument of -f makes vncpasswd read
>>> the plain text password from stdin and output the encrypted password to
>>> stdout.  I think that is ultimately more useful, since one could then
>>> use vncpasswd in any command chain.
>> I wasn't aware of the "-f"
>>>
>>> I will modify your patch to do this if it sounds reasonable.
>> Please do.
> OK, I needed to test it, so here it is. What do you think?
> 
> Cheers
> Antoine
> 
> 
>>
>> Antoine
>>
>>
>>>
>>> On 7/8/10 1:22 PM, Antoine Martin wrote:
>>>> [snip]
>>>>>>> $ vncpasswd ARDpasswd
>>>>>>> Password: <type "mypasswd">
>>>>>>> Verify: <type "mypasswd">
>>>>>> The reason why I didn't want to use vncpasswd is that it is interactive,
>>>>>> are there any pure command line alternatives that I can use?
>>>>>
>>>>> I'm affraid it is currently impossible. However you might temporarily
>>>>> use the "passwdInput" patch from Fedora and pass password directly to
>>>>> vncviewer via pipe.
>>>> There is now (see patch attached).
>>>>
>>>> Allows us to specify the password on the vncpasswd command line. ie:
>>>> vncpasswd --password=MYPASSWORD ./password-file
>>>>
>>>> Tested against Apple's ARD and Xvnc, works for me.
>>>>
>>>> The patch is pretty ugly, done to minimize the number of line changed
>>>> rather than doing anything efficient.
>>>> What do you think?
>>>
>>> ------------------------------------------------------------------------------
>>> This SF.net email is sponsored by Sprint
>>> What will you do first with EVO, the first 4G phone?
>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>>> _______________________________________________
>>> Tigervnc-devel mailing list
>>> Tigervnc-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/tigervnc-devel
>>
> 
> 
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> 
> 
> 
> _______________________________________________
> Tigervnc-devel mailing list
> Tigervnc-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to