[GTALUG] Scripting with Interactive Utilities
William Park
opengeometry at yahoo.ca
Fri Mar 27 21:25:06 UTC 2015
On Fri, Mar 27, 2015 at 04:54:10PM -0400, Lennart Sorensen wrote:
> On Fri, Mar 27, 2015 at 03:37:03PM -0400, Tim Sattarov wrote:
> > You can just spit it to stdin of ktutil
> >
> > echo -e "add_entry -password -p alice at BLEEP.COM -k 1 -e
> > aes128-cts-hmac-sha1-96\ntest\nwkt test_srv" | ktutil
> >
> > or if you don't want to keep passwords in shell history, put commands to
> > the file and then
>
> It also has the problem that it is in the command line arguments and
> hence visible in the process table to any user on the system.
I guess, you can do something like <(cat file).
More information about the talk
mailing list