Unable to run vpnc command

159 views Asked by At

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

1

There are 1 answers

0
Emmanuel Mtali On BEST ANSWER

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