Quote:
Originally Posted by rayfordj
Do you really want your password on the CLI in clear-text and in your history?
Code:
echo "Sup3R$3kre7" | passwd --stdin nirmit
passwd --help
man passwd
|
Interesting: I thought I was nuts because I had never seen that option before. I checked, and on my Debian system, there is no --stdin option. On a Mac, the option appears in the man page, but it doesn't actually work. (Every time I try it, I get an "illegal option" error.) The Mac version also helpfully offers a -noverify option, but that doesn't work either. Odd.