gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ✘"Sudo? Sudon't!" and "Saving U-blox Configuration"


From: Gary E. Miller
Subject: Re: ✘"Sudo? Sudon't!" and "Saving U-blox Configuration"
Date: Fri, 15 Jan 2021 15:23:08 -0800

Yo James!

On Fri, 15 Jan 2021 14:06:05 -0800
James Browning <jamesb.fe80@gmail.com> wrote:

> On Fri, Jan 15, 2021, at 12:34 PM Gary E. Miller <gem@rellim.com>
> wrote:
> 
> > root should only be used when root is needed.  Keep the attack
> > surface as small as possible.
> >  
> 
> If only there were a tool I could use to invoke root power for a
> single command without summoning legions of hate monsters. Oh drat,
> sudo would not work for that.

Oh, I forgot to mention the obvious.  "su - -c CMD" is similar to
"sudo CMD", but without the problems of "sudo CMD".

So why are you using sudo instead of su again?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpeJJD9pCuEd.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]