Results 1 to 10 of 17
How do I get my account to have uber admin/root privileges in fedora?...
- 03-01-2009 #1Banned
- Join Date
- Feb 2009
- Location
- Behind you.
- Posts
- 10
Uber administrative permissions?
How do I get my account to have uber admin/root privileges in fedora?
- 03-01-2009 #2
You'll have to edit your /etc/sudoers file.
This should help: Personal Fedora 10 Installation GuideJay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 03-02-2009 #3
or if your're like me and CAN'T STAND SUDO, just use
su -
and enter your root password. You should never give your user account "uber admin" privileges. You should only use your root permisions when you absolutely need them, and no longer.
the sudo that jayd mentioned doesn't really give your account "uber admin privileges" but rather it alows you to prefix commands with sudo, in which it runs that process with elevated permisions, but uses your own user's password instead of root's ( hence, why I can't stand sudo, it is an unnecisary security risk IMO. ) If you want to emulate the behavior of running 1 command with elevated permisions (which I believe to be a very good thing, if you only have 1 command to run) you can use
su - -c "command"
and enter the root password.New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4
- 03-02-2009 #4Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 03-02-2009 #5Banned
- Join Date
- Feb 2009
- Location
- Behind you.
- Posts
- 10
Yeah, I know the risks, but I get annoyed at all these failed permission errors every time I try to do things.
- 03-02-2009 #6Just Joined!
- Join Date
- Feb 2009
- Posts
- 25
using sudo is more secured than using su
- 03-02-2009 #7Registered Linux user #270181
TechieMoe's Tech Rants
- 03-04-2009 #8
In your opinion. There is no factual basis for your statement, and it depends on your environment which is "more" secure. The fact that you require 2 passwords to get root access with no sudo, as opposed to needing only 1 in yours, does away with your argument.
I can only assume he is running linux as a single user environment for a desktop, where sudo does not have any benefit (who cares if sudo logs commands, if he is the only user. if he is the admin, who does he have to hide the root password from? )
Having a strict split of regular user, and root is in my opinion FAR more important than anything that sudo can provide. So it is in your opinion that it is more secured, but that argument alone does not make it so.New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4
- 03-04-2009 #9Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
Well you can do things right, or you can take the lazy way out. The risks aren't only security. By running as root you can be giving something as simple as a web browser the same priority as a system service. Just remember that next time Flash craps out on you, it'll likely take your X server and a couple of other system services with it.
So in short, I don't think you do know the risks. If you're getting permissions errors it's because you're doing something wrong, or at least don't know how to make it right.
There's certainly a debate on that one and both have their merits. I won't debate it here but there are two things I'd just like to throw in on that- sudo can be configured to run with either the user's password or root password
- When using sudo you are required to make an informed decision to run a command as root. You must prefix each command with sudo.
Something you may all be interested in though, is if you actually do need a root shell you can use sudo interactivelyThis is the equivalent of runningCode:sudo -i
Code:su -
Last edited by bigtomrodney; 03-04-2009 at 07:36 AM.
- 03-04-2009 #10
I do see the advantages you put, but as I mentioned, i was assuming that this was a single user desktop environment (no root password to hand out, as he KNOWS it allready.) Also, I am a strong believer in running 1 command only as root, but for that I use `su - -c "command"` not sudo. sudo for a desktop is just adding 1 more application that can introduce vulnerabilities that do not need to exist.
I will admit I shouldn't assume as much as I did, but I was considering it ridiculous that he would ask that question in a multi user environment.
I didn't know that sudo can be configured to use root password, though in that instance, what is the point, it is just replicating the behavior of su, and I could just alias it to su - -c, and not introduce another program with another configuration, that I could introduce vulnerabilities to.New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4



