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/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




[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