How to install a program in linux for all users not only for root? -


i installed shrewsoft vpnmanger on linux (crunchbang kernel 3.2.0-4 amd64) problem is, somehow can started sudo. can explain how can fix this?

sudo /usr/local/sbin/iked& 

how can change iked installation available each user?

thanks

it's paths normal user's shell search commands. makes sense commands located in sbin dir not accessible typing command's name. commands need access protected resources accessible root.

but if have luck can gain full rights means of sudo can create alias via

 alias iked="sudo /usr/local/sbin/iked" 

and add shell's resource file.

to make full command accessible users typing iked can create little bash script named iked content

 #!/bin/bash  sudo /usr/local/sbin/iked 

and place in /usr/local/bin.

of course implies appropriate /etc/sudoers file , execute permission of iked set.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -