A switch to lsh permitting password field

Pontus Freyhult pont_lsh_bugs@soua.net
Mon, 26 Jul 2004 13:06:56 +0200


Esben Stien <executiv@online.no> writes:

> It would be nice if one could supply the password along with the
> username on the command line
>
> ex. 
> lsh -l usr,passwd foo.bar
>
> I know I can go many ways to achieve my goal, but it would be a nice
> feature

As I'm not sure whatever you (or the others) noticed it, here goes:

This functionality, or kind of the same, at least, was implemented
some time ago and is available in lsh 1.5.2 and newer. I'm referring
to the askpass options, which lets you specify a binary that should
output the requested password/phrase on stdout (what is requested is
supplied in argv[1]).

While this isn't exactly what you asked for (and, I admit, a bit
cumbersome if you really only want to supply the password on the
command line), it's much more flexible (in the aspect of what you can
do with it).

        /Pontus
-- 

Pontus Freyhult, see <URL:http://soua.net/> for more information.