Article does not "explore any differences" at all.
States that becoming root with su is considered a "no, no." and then goes on to say,
Quote:
A simple way to switch to an interactive session as a root user is the following:
$ sudo -i
|
...which is just as bad. The whole point behind the assertion is to avoid having an interactive root prompt.
Also, completely ignores that su has the '
-c cmd' option, to run a single command.
As for exploration of differences...
su user -c "cmd" vs
sudo -u user cmd? Nope, not gonna talk about any of that at all.
'sudo' is a commonly misunderstood tool and this article doesn't help at all. I expect better quality/depth of content from "Redhat Consultants", but all the articles linked here that I've seen from them have been surprisingly poor.