ocpasswd password from the command line rather than prompting for it?
Nikos Mavrogiannopoulos
nmav at gnutls.org
Sun Jan 26 13:49:16 EST 2014
On 01/25/2014 12:38 PM, Steve wrote:
> Hi, could you please add an -b option for ocpasswd like htpasswd?
>
> htpasswd:
> -b Use the password from the command line rather than prompting for it.
Hello,
Is that really needed? I'm thinking into modifying ocpasswd to only ask
for the password once when stdin isn't a tty. That way
echo "password"|ocpasswd would work as expected. Would that address your
use case?
regards,
Nikos
More information about the openconnect-devel
mailing list