Subject: Re: Cautionary Tale: New Install/root Password/Keyboard Layout
To: None <netbsd-users@netbsd.org>
From: Felix Zaslavskiy <felix@students.poly.edu>
List: netbsd-users
Date: 07/04/2003 16:48:56
> felix zaslavskiy <felix@students.poly.edu> wrote:
>
>> #chmod a-rw /dev/tty
>> su unprivuser
>> bash$ echo -n $'oldpass\nmypassword\nmypassword\n' | passwd
>
> You never pass sensitive data as an argument to a command nor do
> you put it into an enviroment variable. Use the `here-document`
> feature of your shell.
>
> --
> Christian

Of course putting things on command line is rediculous i was just showing an example.