LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-26-2005, 02:16 AM   #1
pujolasdf
Member
 
Registered: Feb 2005
Posts: 70

Rep: Reputation: 15
Performing root operations in X such as moving files...


For example, in the console I can type su or sudo and then type the command and works fine. But, when I do it in X I get a permission error and no chance to type the root password. How can I do that?

Last edited by pujolasdf; 03-26-2005 at 02:17 AM.
 
Old 03-26-2005, 02:22 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
It helps if you let us know what distro you are using. On some distros only the user who started the x session can use graphical programs. If you need to do this as any other user, you have to do "xhost +localhost" (or whatever your hostname is) as the user who is currently logged into the x session and then switch to the user you want using "su", then run the graphical program.
 
Old 03-26-2005, 11:47 AM   #3
pujolasdf
Member
 
Registered: Feb 2005
Posts: 70

Original Poster
Rep: Reputation: 15
As you wish. I am using SUSE 9.2 Pro. But I didn't exactly mean that. For example, I want to move (ALWAYS USING KONQUEROR) a file to a directory where only root can do that, but I am using a normal user account and I want to be able to do that. I know the root password but konqueror never lets me type it.

Last edited by pujolasdf; 03-26-2005 at 11:51 AM.
 
Old 03-26-2005, 11:55 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Just do "kdesu konqueror". Konqueror will run with root privileges if you enter the correct password.
 
  


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
root operations under normal user phsythax Linux - Newbie 11 11-09-2005 03:19 AM
Can't access root Operations HegelianCowboy Linux - Newbie 2 07-11-2004 01:28 AM
moving root / wolfe2554 Linux - General 3 07-06-2004 12:38 PM
performing tasks as root curos Linux - Newbie 1 08-06-2003 03:17 AM
Moving software from /root DrDoc Linux - General 1 04-28-2002 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:50 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
Open Source Consulting | Domain Registration