LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Switching to root when running Linux applications (https://www.linuxquestions.org/questions/suse-opensuse-60/switching-to-root-when-running-linux-applications-549413/)

Setya 04-27-2007 03:58 AM

Switching to root when running Linux applications
 
Hi all,

When I run Linux applications as non root user I often encounter permission denied message when trying to write to certain folder owned by root. How do I switch to root user when running these applications, (I mean like appending 'sudo' before actual command) ?

Any help would be greatly appreciated.

Best Regards,

Setya

jschiwal 04-27-2007 04:09 AM

What are you trying to do? Why do you need to access the root folder? If it is administrative work, then yes.
First run "visudo" and configure it to allow members of group "wheel" to use sudo. Also make yourself a member of the "wheel" group.

If these are normal programs, then use your home directory. That is what it is for.


All times are GMT -5. The time now is 12:23 PM.