LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 01-31-2006, 08:32 AM   #1
jonasan
Member
 
Registered: Jan 2006
Distribution: Debian
Posts: 31

Rep: Reputation: 15
Gaining root access in Gnome


Hi

I am running SuSE 10 and was trying to move a file from /home to /opt but Linux would not let me ... rightly so, but how can I get root access to do this?
 
Old 01-31-2006, 08:36 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
in a terminal, type "su" and then the root password at the prompt. Then use "mv" to move the file.

To do it in the GUI (eg Gnome), you need to log out, then log in as root. Now you can do drag and drop with the mouse.
Danger--leaving your computer in GUI mode as root is inviting disaster.

Better to do "root stuff" in a terminal, and then close the terminal or su back to your own name when you are done.
 
Old 01-31-2006, 09:27 AM   #3
pokemaster
Member
 
Registered: Apr 2005
Location: Massachusetts, USA
Distribution: debian,ubuntu,slackware
Posts: 110

Rep: Reputation: 17
mmm... bad idea to log in as root to the gui... too much can go wrong


instead, try Alt+F2, then type
Code:
gksu nautilus
It'll gray your screen, prompt you for the root password, then run nautilus as root. Make sure to close the window as soon as you're done so you can't make any mistakes
 
Old 01-31-2006, 09:27 AM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
I think its better to learn to administer you system from a terminal whilst logged in as a normal user. If you are used to doing stuff from the GUI and it fails, then you are stuck. Also login into X as root can leave your system more vulnerable if any apps you are running have serious security issues.
 
Old 01-31-2006, 11:00 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by pokemaster
mmm... bad idea to log in as root to the gui... too much can go wrong
I agree--I included it for completeness.

Another thing I should have included: From a terminal, you can run any of the GUI utilities by typing "sudo <utilityname>"---e.g.: sudo nautilus
 
Old 01-31-2006, 11:11 AM   #6
jonasan
Member
 
Registered: Jan 2006
Distribution: Debian
Posts: 31

Original Poster
Rep: Reputation: 15
cheers for the advice.
 
  


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
Gaining access to Printerserver? gundestrup Linux - Hardware 8 08-07-2005 05:02 AM
Gaining access to Printerserver? gundestrup LinuxQuestions.org Member Intro 2 05-18-2004 11:54 AM
gaining access to my Windows C:/ drive spano Linux - Newbie 16 03-22-2004 11:21 PM
Gaining root access in KDE d-katz Linux - General 9 02-27-2004 05:46 AM
Gaining Write Access through Samba MaleMe Linux - Networking 2 06-28-2002 10:15 AM


All times are GMT -5. The time now is 08:50 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration