ocpasswd password from the command line rather than prompting for it?

Nikos Mavrogiannopoulos nmav at gnutls.org
Thu Jan 30 13:24:45 EST 2014


On 01/30/2014 11:27 AM, Steve wrote:
> By look into ocpasswd.c, I saw getpass function to read password, is
> it the problem that "echo password|ocpassed" will still ask "Enter
> password:" ?

I've modified it not to use getpass() when reading from stdin. That
would solve that issue.

regards,
Nikos




More information about the openconnect-devel mailing list