Quote:
Originally posted by mherring02
First "sudo" is for any operation that requires root access. If you su to root--or just log in as root, then your won't need sudo.
|
What? You got that backwards, I think but you don't make any sense or you got your terminology all wrong with sudo.
sudo is a way or means to allow or provide a non-root user with special privileges, either perform tasks that only root or simply another user can or has access to without providing such users password.
sudo does not require root access, in simple terms, if I was provided full access given by sudo, I can then run any command root can without using root's password directly. So it's safe to say that using sudo instead of directly logging in as root is a more safe and secure way of handling tasks that need to be done with root's permissions.
I would recommend telling users to setup or use sudo before telling them to simply login as root directly.
How I operate on my own servers, I setup sudo, create some random password for root that I make myself forget and then never logging in as root again, as it's not totally necessary, unless some catastrophic event occurs on the machine.