Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 15th November 2007, 03:30 PM
Arthur Archnix's Avatar
Arthur Archnix Offline
Registered User
 
Join Date: Nov 2007
Posts: 7
Post Install Recommendations

I've been giving Fedora 8 a spin for a week now, and I like it enough to make it a permanent addition to the hard-drive. I'm going to do a clean reinstall, but I was wondering a few things:

1. I went to a lot of bother trying to get sudo working to try and make Fedora mimic Ubuntu behaviour, but I didn't see a lot of people doing the same. Do you guys use su - when necessary and leave sudo alone? I'm guessing that because Fedora doesn't configure this on install, using sudo isn't the Fedora way to do things.

2. I came across a link on these forums that took me to a page that I (later on) found was giving unsupported advice. What are your favorite resources that helped you get to know the OS a little better? I'm new to Fedora but have used Ubuntu for a while.

Many thanks,
__________________
Be sure you know where your towel is before trying to fix your system. It is useful for muffling screams of frustration, covering up the proof of your ineptitude, and of course, crying into.
Reply With Quote
  #2  
Old 15th November 2007, 04:13 PM
pete_1967 Online
Clueless in a Cuckooland
 
Join Date: Mar 2006
Location: Here now, elsewhere tomorrow.
Posts: 3,929
Never used Ubuntu but I assume that it is set to use sudo with full root privileges and no password essentially giving anyone accessing computer full root access - same as if you always logged in as root - not a good idea. Of course, if sudo privileges are restricted, previous doesn't apply.

You can add yourself to sudoers file and grant all root privileges for user if you want to, but sudo is really meant to give restricted root privileges for a user (e.g. allow users to restart httpd server or perform file copying to html directories etc).

There's somewhere sticky on these forums for resources, Fedora Faq is one useful community site I guess.
Reply With Quote
  #3  
Old 15th November 2007, 04:26 PM
PabloTwo's Avatar
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,126
Here's a link to show you how to setup sudoers, and much more, easily.

http://www.mjmwired.net/resources/mjm-fedora-f8.html

Paul
Reply With Quote
  #4  
Old 15th November 2007, 04:28 PM
Arthur Archnix's Avatar
Arthur Archnix Offline
Registered User
 
Join Date: Nov 2007
Posts: 7
Well, the first user during the install is automatically added to the sudoers file, and then whenever they attempt to do something that requires elevated priveleges they have to enter their user password. The root account is disabled. This setup is probably best for me, since I'm not concerned about anyone with physical access, the only danger to my system is from the web. My question though, is whether you (anyone else who cares to respond) use sudo. My sense is that sudo is not widely used, so I should set a pretty good root password.
__________________
Be sure you know where your towel is before trying to fix your system. It is useful for muffling screams of frustration, covering up the proof of your ineptitude, and of course, crying into.
Reply With Quote
  #5  
Old 15th November 2007, 04:42 PM
ordinary Offline
Registered User
 
Join Date: Jan 2005
Location: the Rocket City
Posts: 77
Arthur,
Do things the way you want. The fact seems to be that FC users do not prefer sudo, but use su instead. If you are more comfortable using sudo, by all means use it. Or don't. It really is up to you.

My main box is FC7, and I also have 2 Debian slug servers, and a CentOS box. On none of these do I use sudo. My Ubuntu box is an ancient machine used mainly for demonstrating stuff to converts from winders. Sudo there causes me no hardship or inconvenience at all.

Enjoy yourself!
__________________
Phil

If man was meant to fly, God would have given him a big brain and apposable thumbs.
Reply With Quote
  #6  
Old 15th November 2007, 04:44 PM
PabloTwo's Avatar
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,126
Quote:
My question though, is whether you (anyone else who cares to respond) use sudo.
Yes. I use sudo. I almost never log in as root. It's a matter of personal preference and also what type of system you're running (single user personal computer or shared by others) as to whether you want to use sudo at all or, if you do, how much privilege you care to give yourself. Like you, I am the sole user on my machine and give myself full [ALL] root privilege with no password requirement.

Some would feel that is an 'unsafe' environment to work in. Perhaps for some, it is. But for me, the mere fact that I type sudo as the first command in a command line is enough of a reminder to myself to be very thoughtful as to what I type next. From my time spent here on this forum, I get the feeling that there are a lot of fedora users who use sudo over su.

Paul
Reply With Quote
  #7  
Old 15th November 2007, 04:45 PM
pete_1967 Online
Clueless in a Cuckooland
 
Join Date: Mar 2006
Location: Here now, elsewhere tomorrow.
Posts: 3,929
What you are missing is that if they crack your user account on Ubuntu, they have immediately full control over your system instead of having to try cracking root password as well, and usually it's easier to crack user account first.

I only use sudo on servers but quite few in these forums do use it at home as well (do search for "sudo" to find some of them).
Reply With Quote
  #8  
Old 15th November 2007, 04:50 PM
FriedChips's Avatar
FriedChips Offline
Registered User
 
Join Date: Jul 2007
Location: Indiana USA
Posts: 1,715
I use sudo more often than not. Setting up sudoers is rather simple depending on how you go about it. I just do:

Code:
su
visudo
and remove the # at the beginning of the line that looks something like
Code:
%wheel   ALL:ALL  NOPASSWD:ALL
if you read through it kinda explains what each line will do... after that just add whoever should have access to sudo to the wheel group with.
Code:
system-config-users
after that the only other thing that kinda screws you up is that you don't have a full root path. This can be fixed by modifying your bash profile but it doesn't usually bother me too much. If I have a lot to do as root or I am doing kernel module compiling or something of that nature that requires a full root path I use
Code:
su -
__________________
The answer to all of lifes questions are buried somewhere in the Google search engine.

Code:
[Stephen@localhost ~]$ whatis this?
this?: nothing appropriate
Reply With Quote
  #9  
Old 15th November 2007, 04:59 PM
ordinary Offline
Registered User
 
Join Date: Jan 2005
Location: the Rocket City
Posts: 77
Quote:
Originally Posted by pete_1967
What you are missing is that if they crack your user account on Ubuntu, they have immediately full control over your system instead of having to try cracking root password as well, and usually it's easier to crack user account first.

What am I missing? How is it easier to crack a user password than a root password, given only that both are well constructed passwords?
__________________
Phil

If man was meant to fly, God would have given him a big brain and apposable thumbs.
Reply With Quote
  #10  
Old 15th November 2007, 05:51 PM
tw2113's Avatar
tw2113 Offline
Registered User
 
Join Date: Apr 2007
Location: South Dakota
Age: 29
Posts: 505
I use sudo all the time if I don't have much to do. If I have a lot to do requiring root privileges, I'll log in through a terminal to root and save myself some repeated typing.

in regards to the 2 passwords, I think what he meant to say is that having 2 accounts, 1 user, 1 root, is an extra level of security, instead of having just 1 password for a setup that would get you full computer control
__________________
If you're not questioning my sanity, I'm not trying hard enough
Reply With Quote
  #11  
Old 15th November 2007, 05:52 PM
tw2113's Avatar
tw2113 Offline
Registered User
 
Join Date: Apr 2007
Location: South Dakota
Age: 29
Posts: 505
btw, I recommend this site to getting some post-install stuff accomplished

http://www.fedorasolved.org
__________________
If you're not questioning my sanity, I'm not trying hard enough
Reply With Quote
  #12  
Old 15th November 2007, 05:55 PM
Arthur Archnix's Avatar
Arthur Archnix Offline
Registered User
 
Join Date: Nov 2007
Posts: 7
Well, thanks for the replies. Something for me to think about then. As for the cracking, the thinking goes (on the Ubuntu side, as far as I understand it) that give equally difficult passwords its harder to crack a user accout, since you'd need both the username and password, while for root you already have the account name. And if you're trying to do this remotely you will be wasting your time on the root account since it's disabled.

The real drawback is for anyone who has physical access to the computer, since you simply reboot in single user mode, and activate the root account, and bob's your all powerful uncle. As far as I understand, that can't be done with the root account enabled. But really, if you're not using disk encryption who cares about hacking your account? Just remove the drive, mount it elsewhere, explore to your hearts content.
__________________
Be sure you know where your towel is before trying to fix your system. It is useful for muffling screams of frustration, covering up the proof of your ineptitude, and of course, crying into.
Reply With Quote
Reply

Tags
install, post, recommendations

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
F10 a no-go post-install jr_ Using Fedora 2 29th December 2008 07:07 PM
Fedora 8 Minimal Install - 247MB after post-install! 27spots Installation and Live Media 1 29th April 2008 01:35 PM
Post install won't come up on fresh install of Fedora coolsnow23 Installation and Live Media 5 24th March 2008 12:31 AM
post install... no gui dewfiend23 Installation and Live Media 5 16th September 2007 12:23 AM
FC6 App description? Install Which Apps? Recommendations? riffin-rich EOL (End Of Life) Versions 3 1st April 2007 12:07 AM


Current GMT-time: 01:28 (Thursday, 23-05-2013)

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