View Single Post
Old 07-24-2017, 01:28 PM   #11
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
And what is the difference between sudo and su?

One (su) allows you to change users by authenticating as the user you are changing to, and the other (sudo) allows you to change users by authenticating as yourself and being granted permission to do so via a sudoers(5) policy.

...

And really, you shouldn't be using either one, since systemctl status does not require elevated permissions. If you were enabling or starting the service, that would require elevated permissions, assuming you aren't using systemctl --user to manage a service from your systemd user session.
eschwartz is offline   Reply With Quote