0

I have installed vpnc with this guide

The installation went fine, but I am unable to run vpnc normally from command line

My content for sbin

enter image description here

The only way to run vpnc is to navigate to /usr/local/sbin then execute sudo ./vpnc or sudo ./vpnc-disconnect

How can I run from anywhere with just sudo vpnc or sudo vpnc-disconnect

Emmanuel Mtali
  • 4,383
  • 3
  • 27
  • 53

1 Answers1

0

I was able to resolve this by creating symbolic link to /bin

sudo ln -s /usr/local/sbin/vpnc /usr/local/bin/vpnc

sudo ln -s /usr/local/sbin/vpnc-disconnect /usr/local/bin/vpnc-disconnect
Emmanuel Mtali
  • 4,383
  • 3
  • 27
  • 53