Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Security and Privacy
FedoraForum Search

Forgot Password? Join Us!

Security and Privacy Sadly, malware, spyware, hackers and privacy threats abound in today's world. Let's be paranoid and secure our penguins, and slam the doors on privacy exploits.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 3rd October 2006, 07:22 AM
TheRoom Offline
Registered User
 
Join Date: Oct 2006
Posts: 38
Not in control!

How can I obtain full administration rights on my Fedora 5? Some programs can't be opened because I don't have the rights to use them. Like Xine Media player, whenever I try to play a DVD it tells me I don't have the rights to do this.


Thanks!

Alex.
Reply With Quote
  #2  
Old 3rd October 2006, 11:52 PM
Chosen Reject Offline
Registered User
 
Join Date: Jun 2005
Posts: 94
That might be because of the way you installed it. Did you use yum or did you install it manually as root?
Reply With Quote
  #3  
Old 5th October 2006, 12:53 AM
TheRoom Offline
Registered User
 
Join Date: Oct 2006
Posts: 38
Quote:
Originally Posted by Chosen Reject
That might be because of the way you installed it. Did you use yum or did you install it manually as root?
I don't remember. But some files too, folders also. I got no rights to use them. I am the only one using this machine, so I'd like to be in total control of everything. How can I obtain permanent root/admin access?
Reply With Quote
  #4  
Old 5th October 2006, 01:00 AM
lazlow Offline
Registered User
 
Join Date: Aug 2005
Posts: 3,172
You should be able to log in as root. Running on a hour by hour basis in root is an extreme bad bad bad bad bad (did I sayBAD) idea. It defeats all the protections offered by linux. Your best bet is to do most task as user (once you are set up 90% of tasks can be done by user). When you run into a task that requires root, open a terminal type su - (su space dash) give root password, take care of the issue then exit out of su.

Good Luck
Lazlow
Reply With Quote
  #5  
Old 5th October 2006, 01:30 AM
TheRoom Offline
Registered User
 
Join Date: Oct 2006
Posts: 38
I am trying to edit my xorg.conf file, but get this message:

Code:
Could not save the file /etc/X11/xorg.conf.
You do not have the permissions necessary to save the file. Please, check that you typed the location correctly and try again.
What can I do to edit it...?

Thank you...
Reply With Quote
  #6  
Old 5th October 2006, 01:47 AM
lazlow Offline
Registered User
 
Join Date: Aug 2005
Posts: 3,172
Are you logged in as a user or as root?

Assuming as user: Open a terminal, type su - (su space dash), enter root password, type gedit (or whatever editor), do as usual, and exit su.

Lazlow
Reply With Quote
  #7  
Old 5th October 2006, 10:49 AM
ccrvic Offline
Registered User
 
Join Date: Apr 2006
Posts: 1,092
Quote:
Originally Posted by TheRoom
I'd like to be in total control of everything.
No you don't.

Total control implies total responsibiity. Do you really think you have enough knowledge of Linux to hold that responsibility on a permanent basis?

Running as root is a really good way to get your box broken - or broken into, which is worse.

Vic.
Reply With Quote
  #8  
Old 6th October 2006, 01:15 AM
w5set Offline
Registered User
 
Join Date: Feb 2005
Location: ark n saw out in the sticks
Posts: 2,316
Actually the old adage of not using root account fulltime comes from way back. They were mostly afraid of errant terminal usage/typing from anyone walking around the keyboard. maybe even the cat.
Most "boxes" are broken into by way of a server running and accessable from the 'net--ain't got much to do with who's logged in at the time.
Getting the 'root" access by wildassed or script driven guesses through a login attempt WILL make it so much easier in the short term though to jack the box.
Downloading just about any old thing from the net while root will eventually lead to grief if you ain't careful.
Clicking on strange and wonderful links while logged in as root will come to grief more and more as time goes on.
But folks---if a box is jacked while just a user is logged in--it's entirely possible that box is toast even though the user NEVER logs in as root, which data is safe then? (some servers are jacked when absolutely no body is logged in ---every day)
Not using root as a normal type day to day login is a simple way to keep fumbly (others or even yours) fingers from making definate drastic changes when "It wasn't supposed to do THAT!" occurrs.
Root account has a definate purpose.....keep the box/network running/safe from even the boss's fumbling fingers. Root account isn't a firewall nor is not using it any type or form of a guarentee of safety.
Root vs user accounts on a single user desktop--surfing--music playing computer--no network usage is a moot point IF you think you know enough to not make simple silly typing or file handling mistakes---and even if ya do--you WILL learn quickly to not do that again logged in as root.....more then likely it will speed up the learning curve a bit while reinstalling a few times.
Now if I had a little nickel for every time an errant misguided user on the internet has tried to log in to this computer as "root"--me and Billy G. would be "buds" and jetsetters together--and hang out together with the other extremely rich folks like Bob and GallComp do.
Reply With Quote
  #9  
Old 6th October 2006, 08:30 AM
ccrvic Offline
Registered User
 
Join Date: Apr 2006
Posts: 1,092
Quote:
Originally Posted by w5set
Actually the old adage of not using root account fulltime comes from way back. They were mostly afraid of errant terminal usage/typing from anyone walking around the keyboard.
And that same fear holds today.

There is no need to do things with the safety-catch off unless it is one of those things that *needs* it. When you need root access, there's su and sudo. When you don't need root access, you don't use it.

This "I must be lord of all I survey" idea is at the beginning of a world of missing files...

Vic.
Reply With Quote
  #10  
Old 6th October 2006, 11:24 PM
w5set Offline
Registered User
 
Join Date: Feb 2005
Location: ark n saw out in the sticks
Posts: 2,316
Using su or sudo is ok--if you don't forget to log off/out/exit.
Just how many out there have to use a terminal as root to do updates/installs of this or that and have a normal GUI running and doing some surfin at the same time?
A bigger practice (more then likely with a single user computer) that's rather debatable also.
As stated--the ROOT account is to keep fumbly fingers--cats walking across the keyboard--or just plain dummass bad luck with typing/file handling from stuffing the computer.
It's always been--Use at your own risk! type warnings.
I kinda thought I (almost) was warning not to use root as normal login--kinda---but then again--who listens to me?
If anyone thinks they can do what's needed--and won't screw up at all--I would suggest actually doing it for a month or so--it's a GREAT teacher, learning method....really quick and steep learning curve usually overcome by a bit of talent and work. Doo-doo can occurr--and will from time to time.
Murphy will eventually prevail over the best intentions or even the brightest guru.
But there's a bunch of just plain old "myth" reasons floating about of why to not use root all the time.
Just one or two basic simple reasons is enough to just use root as needed.
Reply With Quote
Reply

Tags
control

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lost volume control, internet and battery indicator from control panel on F11 gslams Using Fedora 1 15th July 2009 12:24 AM
AMD 64 X2 cpu fan control in F8? hank_le Using Fedora 2 1st January 2008 05:25 AM
Fan Control Help DaUnKnOwN Using Fedora 3 22nd August 2004 05:23 PM


Current GMT-time: 04:15 (Monday, 28-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat