Logo 
Search:

Unix / Linux / Ubuntu Answers

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds
  on Dec 26 In Unix / Linux / Ubuntu Category.

  
Question Answered By: Adah Miller   on Dec 26

There are advantages and disadvantages to using sudo. Opponents like
standardization. But many users have messed up their systems by logging in as
root and then doing crazy things. For newbies, it can be confusing to have two
users with different levels of access. They can be confused about having two
passwords, especially if they have come from an environment when one password
was too many. They can buy into one password, but may find two passwords
extreme. If you come from Linux, you are used to it.

Sudo is a powerful tool used by network adminstrators in BSD/Unix with great
success. It is not an Ubuntu innovation. In the right hands it can be very
useful. It is no less secure than changing to root and giving the root password.
If you want to avoid sudo you can always change Ubuntu to use root and allow
root logins. However, it is something that one should think about carefully. It
can be very damaging and you can achieve the same level of security without it,
so what is the point.

Anytime I want to switch to root, I can use sudo su or I can use an option with
it. See: http://www.sudo.ws/sudo/man/sudo.html

Many people incorrectly believe that su stands for super user. It stands for
switch user, so when you use su in a terminal, you are switching to root. Sudo
is switch user to "do" a command. It is just a way of delegating root level
permissions to a user for a temporary period and it has the same effect as su
for the most part. What is good is that it is temporary.

If you open a terminal and switch to root or login as root and leave your
computer to get a cup of coffee then you are opening up your computer for anyone
to mess with. However, if you use sudo, you will be prompted for the password
again at some point. As I said, there are pluses and minuses. The big minus of
sudo is that it is two extra letters to type, ;) and it will ask you to input
the password more often. That can't be bad, if you are security conscious.

I don't see one as better or worse. It is whatever you are used to. I found it
hard to get used to, but after a couple of years think nothing of it. When I use
MEPIS or PCLOS, I seem to instinctively use su and in Ubuntu I use sudo. What I
never do, is login as root. That is a recipe for disaster for a newbie. As an
experienced user, I don't have the need. So why even have it if it is
unnecessary?

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Security and Boot Options Or get search suggestion and latest updates.


Tagged: