linux - Hiding my login credentials for vpn -


so here code automatically logins schools vpn.

   #!/usr/bin/expect spawn sudo openconnect vpn.ucr.edu/engineering  expect -r "\[sudo] .*\: " {        send "pw_for_my_linux\n" }  expect "username:" {        send "my_vpn_username\n" }  expect "password:" {        send "vpn_password\n" } interact 

i wondering if there anyway can hide username or password when goes directly file not shown in plain sight se credentials. thank you!


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -