any way to totally script logins?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 15, 2014 at 5:13 AM, Jason Welsh <jason at monsterjam.org> wrote:
> hey folks, I just discovered openconnect and really like it so far, the
> only thing I am looking for now is a way to run a script and get logged
> in.. Right now, it still prompts me for a password.. Is there a way
> (like with vpnc) to obfuscate the password in a file somewhere so that I
> dont have to type it in at login?

You can use something like:

echo mypass > password.txt
openconnect --non-inter --authgroup users --user test
--passwd-on-stdin asa < password.txt

If you wanted to get creative you could pipe it through "base64 -d".



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux