Web lists-archives.com

Re: systemd error






On Sat, Mar 9, 2019 at 4:21 AM Curt <curty@xxxxxxx> wrote:
On 2019-03-08, Default User <hunguponcontent@xxxxxxxxx> wrote:
>
> doofus@doofus:~$ sudo systemctl status
> [sudo] password for doofus:
> doofus
>     State: degraded
>      Jobs: 0 queued
>    Failed: 1 units

I believe sudo (or root) isn't required for this command (nor is it
needed for some of the other, interrogative systemctl commands further
down, which I've snipped in the interests of brevity).

Elevated privileges are needed for starting and stopping services, of
course.

As keystroke frugality is one of the frequently expressed ideals of the
group (though often when other arguments seem unconvincing), if only
for that I thought you'd like to know.

--
“Let us again pretend that life is a solid substance, shaped like a globe,
which we turn about in our fingers. Let us pretend that we can make out a plain
and logical story, so that when one matter is despatched--love for instance--
we go on, in an orderly manner, to the next.” - Virginia Woolf, The Waves



Curt, I often use sudo [command] even when not needed, because the sudo elevated privileges state  "times out" after several minutes, reverting to unprivileged user state. So if I need to enter another command with elevated privileges after the elevated privilege state expires, I have to re-enter the password again, instead of just sudo [command]. 

I guess i'm just lazy.