LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Security help (https://www.linuxquestions.org/questions/linux-newbie-8/security-help-678983/)

flyingace 10-25-2008 08:44 AM

Security help
 
I installed vpnc as root. When logged on as root, I can type 'vpnc' from any directory location and the the pgm executes. When logged on as a standard user, the system can't find the command to execute. I have done CHMOD to give the executable rwx permissions for all users.

If I am logged on as root and SU to my standard user, it tries to run, but I get a permission denied on the vpnc.conf file.

How can I get this program to execute as a user other than root?

plpl303 10-26-2008 03:58 PM

As root, type "which vpnc" to find out what directory it's in. You can then add that to your ordinary user's path.

If the vpnc.conf file isn't accessible to a non-root user, you may need to chmod the vpnc file (which will make it readable to all users, if that's what you want).


All times are GMT -5. The time now is 12:14 AM.