0

I'm not exactly new to Unix, but this has been irking me since I started. If I use sudo, I can get root powers for one command, however, it asks for my password, not root's. Why is this? This seems to be a very large oversight, or was it intentional?

4
Contributors
4
Replies
5
Views
7 Years
Discussion Span
Last Post by Stefano Mtangoo
0

I'm not exactly new to Unix, but this has been irking me since I started. If I use sudo, I can get root powers for one command, however, it asks for my password, not root's. Why is this? This seems to be a very large oversight, or was it intentional?

The intention of sudo is to give you temporary root access. It is not a good idea to login as root, not only as a security precaution, but as good practice overall. Granting admin rights temporarily allows you do things like; install software, manage users and so forth.
Once the tasks are completed, you can enter an regular user status and continue your work as usual. I am curious why this "irks" you? The sudoers file is in a well protected location in your Linux file system. Only someone with root access can add or modify that file. If someone other than you has root access, you have bigger problems than sudo...I assure you....

Hope that helps

0

Why is this? This seems to be a very large oversight, or was it intentional?

The guy have answered well. I would however like to answer this one, It is there by design

Edited by Stefano Mtangoo: n/a

0

mmmm that is all said.

One of MS big issue is automatic file exe without the consent of the admin. this is why its easy to hack-in.

I have been hosting up 468 customers on my server and one thing i picked up 8 years ago was admin security. Dont give a gun to a mad man. And when he says he is not mad, still dont give him.

Give him when he admit that he is mad. its a sign of healing.

explore :)

0

Dont give a gun to a mad man. And when he says he is not mad, still dont give him. Give him when he admit that he is mad. its a sign of healing.

:)

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.