-
Maarek Stele
-
RE: Whats the best OS for us
-
[b]marc wrote:[/b]
[quote]I fail to see the usefulness in sudo as "su" does exactly the same (as far as I know). Would you point me to something that "sudo" does that is different from "su"?[/quote]
That's your perspective of being an admin for the system. If my boss said we are using DISTRO X (that uses root), I won't mind one bit. To me, The su/root option is like CAPS LOCK, once you have it on and start typing, you need to delete what you typed to correct the problem, and can be fatal in some cases. For example, while viewing a system file as su/root, you might type something or hit a key deleting a line withing vi. sure, you can always q! out, but you might type w first out of habit and permanently change the file. The sudo option, or lack of it allows you to view the file as an admin and not worry about making any changes.
Even with root in systems typing su will switch over to the root user. I guess my point is that you cannot login as root itself on a system that strongly emphasizes on sudoers unless you set a password for root. Root is present & active, just check the process list. Root is running the system, sudoers just help maintain it.
-
03 Jun 10
marc wrote:
I fail to see the usefulness in sudo as "su" does exactly the same (as far as I know). Would you point me to something that "sudo" does that is different from "su"?
That's your perspective of being an admin for the system. If my boss said we are using DISTRO X (that uses root), I won't mind one bit. To me, The su/root option is like CAPS LOCK, once you have it on and start typing, you need to delete what you typed to correct the problem, and can be fatal in some cases. For example, while viewing a system file as su/root, you might type something or hit a key deleting a line withing vi. sure, you can always q! out, but you might type w first out of habit and permanently change the file. The sudo option, or lack of it allows you to view the file as an admin and not worry about making any changes.
Even with root in systems typing su will switch over to the root user. I guess my point is that you cannot login as root itself on a system that strongly emphasizes on sudoers unless you set a password for root. Root is present & active, just check the process list. Root is running the system, sudoers just help maintain it.