Re: Passwd --stdin pipe

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

 



At 12:10 PM 3/24/2004, Jeff Graves wrote:
>I'm trying to use the passwd --stdin option to pipe a plain text
>password through passwd so it gets encrypted and set properly (since
>this is my first attempt at writing shell scripts and whatnot). Just for
>testing, I'm running this code at the command line. This is the syntax
>I'm using:
>
>echo password | passwd --stdin username

Try:

  echo -n password | passwd --stdin username


-- 

I build custom Linux solutions - Hire me - I'll make it work.
mailto:bob(at)rsi.com, http://www.rsi.com/, 617.965.1700


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux