  | |  | Passwd --stdin pipe | Passwd --stdin pipe 2004-03-24 - By Bob Gorman
Back 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@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
|
|
 |