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

Steve steve at thupdi.net
Thu Jan 30 05:27:04 EST 2014


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:" ?

On Tue, Jan 28, 2014 at 2:03 AM, Nikos Mavrogiannopoulos
<nmav at gnutls.org> wrote:
> On 01/27/2014 04:55 PM, Steve wrote:
>> Hi, Nikos, echo "password"|ocpasswd will still ask "Enter password:"
>> for once, I think it should be directly update the password file :)
>
> That should be true in the released version but not in the repository.
> Could you verify that?
>
> regards,
> Nikos
>
>



More information about the openconnect-devel mailing list