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