Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 04-27-2007, 03:58 AM   #1
Registered: Apr 2007
Posts: 41

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

Old 04-27-2007, 04:09 AM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

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


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: Running Windows applications with CrossOver Linux 6.0 LXer Syndicated Linux News 0 01-29-2007 06:33 PM
running linux applications in mac scng General 2 09-05-2004 11:01 AM
Running applications as root socks Linux - General 3 07-11-2004 10:46 PM
running microsoft applications in Red Hat Linux 7.2 ritwiksolutions Linux - Newbie 1 11-26-2002 09:52 AM
running applications in X as root Fingers Linux - Newbie 2 04-15-2001 10:45 PM

All times are GMT -5. The time now is 09:04 AM.

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