Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-21-2011, 06:01 AM   #16
Registered: Dec 2005
Location: Philippines
Distribution: Slackware
Posts: 824

Rep: Reputation: 300Reputation: 300Reputation: 300Reputation: 300

Originally Posted by hydepark2734 View Post
as far as i understand, sudo is used so the user won't use the root account and it's password.
but what is the difference?
let's say i installed a fresh copy of ubuntu, no root, just sudo that can do exactly the same as root, for better or worse.
even change the password for root.
i fail to understand how sudo is more safe then root.
Sudo is not there to prevent the user from using the root account. Users should never user the root account or have access to it. Sudo allows the administrator (root) to give permission to specific trusted users to issue commands normally reserved for root without knowing root's password. That is the key benefit of sudo. Sudo is definitely not more safe than root, I'm not sure where you got that idea.

When you install Ubunutu and create your user account during the install it is by default given trusted status and full sudo access. Subsequent users that are added to the system are not trusted and will not be given sudo access. Ubuntu has to give that first account full sudo access, since the root account is effectively disabled.
4 members found this post helpful.
Click here to see the post LQ members have rated as the most helpful post in this thread.


root login, sudo

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
LXer: Firefox 4 a big deal LXer Syndicated Linux News 0 08-13-2010 11:10 AM
Why is Lisp such a big deal? joeBuffer Programming 16 08-26-2009 11:44 PM
LXer: OOXML: What’s the Big Deal? LXer Syndicated Linux News 0 02-20-2008 01:00 AM
Why Was 64 Bit Such Big Deal? carlosinfl General 3 04-08-2007 04:55 PM
Big deal with GRUB please help! drcyber Linux - Newbie 20 11-08-2004 04:56 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration