LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-25-2008, 09:44 AM   #1
flyingace
LQ Newbie
 
Registered: Nov 2004
Posts: 5

Rep: Reputation: 0
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?
 
Old 10-26-2008, 04:58 PM   #2
plpl303
Member
 
Registered: Oct 2008
Posts: 31

Rep: Reputation: 15
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).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Firefox security (Really Windows Security or Lack Thereof - ED) LXer Syndicated Linux News 1 10-18-2008 10:32 PM
[Security Questions] Last Login, how good is this feature for security breach info? t3gah Linux - Security 2 06-14-2005 02:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration