I don't understand why
su - is preferred over
su to login as root.
Imagine, you're a software developer with normal user access to a machine and your ignorant admin just won't give you root access. Let's (hopefully) trick him.
Now, you ask your admin why you can't
If your admin isn't that smart or just a bit lazy, he might come to your desk and try with his super-user powers:
Wow! Thank super admin!
You've maybe noticed, that the corrupted
The most obvious example of this is that
Depending on your system, it may also mean differences in prompt,
So if you are part of a team administering a system, and your colleague gives you a command to run, you know it will work the same if you are both using
On the other hand, if you want to run a command as root but using your own configuration, then maybe
Also don't forget about