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

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

 



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




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux