Running a Single Command as root
$ su root -c “command”
This allows you to fix something quickly when you are at a user’s workstation (or otherwise not at your own system) without having to worry about remembering to exit from an su session.
There are users who will absolutely take advantage of such lapses, so I’ve learned to be cautious.
