Print out only first line
Brian Minton
brian at minton.name
Mon Aug 28 21:15:30 CEST 2017
Yes, using backticks with a password is not a good idea. It will show the
password on the command line, and anyone who can run ps will be able to see
it.
On Sat, Aug 26, 2017 at 11:55 PM, Radon Rosborough <radon.neon at gmail.com>
wrote:
> How about this?
>
> $ dummyProgram --password "$(pass Group/Title/User | head -n 1)"
>
> I wouldn't expect this to be insecure, but then I've never researched the
> matter.
>
> _______________________________________________
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/password-store
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20170828/a4cbb293/attachment.html>
More information about the Password-Store
mailing list