Use sudo instead of the full path
This commit is contained in:
parent
c96b561ea9
commit
7e50766463
|
@ -7,7 +7,7 @@ let
|
||||||
GASPAR_PASSWORD=$(rbw get gaspar)
|
GASPAR_PASSWORD=$(rbw get gaspar)
|
||||||
GASPAR_TOKEN=$(rbw code gaspar)
|
GASPAR_TOKEN=$(rbw code gaspar)
|
||||||
|
|
||||||
printf "%s\n%s" "$GASPAR_PASSWORD" "$GASPAR_TOKEN" | /usr/bin/sudo openconnect \
|
printf "%s\n%s" "$GASPAR_PASSWORD" "$GASPAR_TOKEN" | sudo openconnect \
|
||||||
--passwd-on-stdin \
|
--passwd-on-stdin \
|
||||||
-u pham \
|
-u pham \
|
||||||
"https://vpn.epfl.ch"
|
"https://vpn.epfl.ch"
|
||||||
|
|
Loading…
Reference in a new issue