I'm trying to install Cisco VPN client on Linux Ubuntu 10.04. The installer creates the directory, places all the necessary files in it, and then fails to launch the binary. I tried to launch it myself, the system rebukes me too. Closer inspection yields the following:
eugene@eugene-desktop:/opt/cisco/vpn/bin$ sudo chmod u+x vpnagentd
eugene@eugene-desktop:/opt/cisco/vpn/bin$ ls -la
total 5124
drwxr-xr-x 2 root root 4096 2010-10-23 11:51 .
drwxr-xr-x 6 root root 4096 2010-10-23 11:51 ..
-rwxr-xr-x 1 root root 1607236 2010-10-23 11:51 vpn
-rwsr-xr-x 1 root root 1204692 2010-10-23 11:51 vpnagentd
-r--r--r-- 1 root root 697380 2010-10-23 11:51 vpndownloader.sh
-rwxr-xr-x 1 root root 1712708 2010-10-23 11:51 vpnui
-rwxr-xr-x 1 root root 3654 2010-10-23 11:51 vpn_uninstall.sh
eugene@eugene-desktop:/opt/cisco/vpn/bin$ ./vpnagentd
bash: ./vpnagentd: No such file or directory
eugene@eugene-desktop:/opt/cisco/vpn/bin$ sudo ./vpnagentd
sudo: unable to execute ./vpnagentd: No such file or directory
The file name "vpnagentd" is shown in white letters with red background. The other three executables are in green letters with black background, as expected.
Any ideas?
Best Answer
The colors of files when viewed in
ls
(or more specificallyls --color
) by system settings. Usedircolors -p
to view a whole list of your configuration.In that output I see:
Your example has a red background and white foreground, so I would look for a code with 37 (white) and 41 (red).
And we see that it's setuid (as per Ignacio's previous answer).