LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 03-08-2011, 09:20 PM   #1
hewittrj
Member
 
Registered: Mar 2007
Posts: 83

Rep: Reputation: 15
Root access with GUI in Fedora Core 14


I need to access files in my FC14 but I need root access and I want to use the GUI interface, I'm still not use to the command line editors FC14 has and I like the pretty screens over the command line anyway. I know that in a terminal I type SU but form there I get lost.


RObert
 
Old 03-08-2011, 09:31 PM   #2
comp_brad1136
Member
 
Registered: Nov 2004
Location: SW Missouri, USA
Distribution: Debian 6 "Squeeze"
Posts: 55

Rep: Reputation: 7
rather than handing you a loaded gun, how about you learn how to access your files?

you are right, open your console, and su to root.

next, cd to where your files are.

finally, type chown {your user name} file.name

as a side note, if ALL your files are in /home/otheruser/mp3 , you can instead do

chown {your user name} -R /home/otheruser/mp3

next, you need to move your files.

mv /home/otheruser/file.name ~
(the ~ it the tilde, it's the the left of the 1 on normal keyboards)
 
Old 03-08-2011, 09:50 PM   #3
hewittrj
Member
 
Registered: Mar 2007
Posts: 83

Original Poster
Rep: Reputation: 15
SO once I do this and copy the files I need to edit like for instance the samba.conf do I copy it back to the directory I got it from?
 
Old 03-08-2011, 10:05 PM   #4
hewittrj
Member
 
Registered: Mar 2007
Posts: 83

Original Poster
Rep: Reputation: 15
never mind I think I figured it out thanks
 
Old 03-08-2011, 10:56 PM   #5
comp_brad1136
Member
 
Registered: Nov 2004
Location: SW Missouri, USA
Distribution: Debian 6 "Squeeze"
Posts: 55

Rep: Reputation: 7
glad to see you got it!
This used to be the way to do this in fedora, and it probably still holds true.

open your terminal
su to root
vim /etc/pam.d/gdm
put a # in front of " auth required pam_succeed_if.so user !=root quiet "

still don't like the idea if you using root all the time. I know, it's easier like that... but it's a hard habit to break.
 
Old 03-08-2011, 11:41 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
you do not log in as root in fedora
fedora AND Gnome have removed that options , yes one can hack the system but then there will be unintended consequences .

also DO NOT i repeat DO NOT use the "chown" command on any system file or folder
you WILL KILL FEDORA !!!
KILL the install if you do that to the wrong file and the system might NEVER boot again!

if you need to edit a system file ( like /etc/fstab) use the "su -" command in the terminal
like this -- assuming Gnome is running
Code:
su -
(  your root password when asked for ) 
gedit
 
Old 03-09-2011, 10:58 AM   #7
comp_brad1136
Member
 
Registered: Nov 2004
Location: SW Missouri, USA
Distribution: Debian 6 "Squeeze"
Posts: 55

Rep: Reputation: 7
allowing / disallowing root login via a dm is not a hack. It's an option. I remember seeing it way back in the late 90's when I was using Corel Linux.

chowning the wrong file making bad monsters eat the easter bunny???

just use any LiveCD and chown / chmod it back to where it's supposed to be. Of course it's a pain in the back side, but the best lessons in life hurts a little!
 
Old 03-09-2011, 11:56 AM   #8
hewittrj
Member
 
Registered: Mar 2007
Posts: 83

Original Poster
Rep: Reputation: 15
Well the only file I truely need to be editing are all related to the SAMBA program so I don't need to make edits of any other files that I can see at this time. But I still can get done what I need to get done


Robert
 
Old 03-09-2011, 01:20 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
allowing / disallowing root login via a dm is not a hack. It's an option
from experience with fedora if one dose then things like software updates and installs do not work , that is one of the
"unintended consequences"

"yum update" might not work in logged in as root into gnome
 
  


Reply



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
Just lost GUI root access Urza9814 Mandriva 4 06-05-2007 06:43 AM
DC ++ in Fedora core 6 with GUI me4linux Linux - Software 3 03-08-2007 06:32 AM
I am looking for a file browser with a GUI to access as root. cultavix Linux - Software 6 04-06-2006 05:45 PM
Fedora Core GUI problems hazle Linux - Newbie 3 07-22-2005 12:35 AM
What command will give me root access from the gui? Thaidog Linux - Newbie 9 09-21-2004 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:55 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