-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 16 Jan 2024 07:27:09 -0800 (PST)
matthew wall <[email protected]> wrote:

> On Tuesday, January 16, 2024 at 10:16:40 AM UTC-5 Paul R Anderson
> wrote:

> Agree sudo should be a prerequisite.

> i know!  we will add a line to the instructions:

> sudo apt install sudo

> oh, wait... ;)

> in the case of the debian (or redhat or suse) installers, it is not
> as easy as just add 'sudo' to the weewx package dependency, since you
> not only have to install sudo, but also make the appropriate non-root
> user a sudoer.

... and reboot naturally.

> but perhaps we can just add a note, with reference to wiki page with 
> complete details about what sudo is and how to configure sudoers.

As a Debian user without *sudo*, I have always run *su* from the
*util-linux* package (which is deemed "essential") in a terminal
session to push to a new shell with root authority, which seems simpler
to me because I have a root password that I can use.

Perhaps it is insufficient in documentation targeted at all comers to
say, "Push to a shell with root authority," and leave it at that.
Apparently it is fashionable to show the *sudo* form in code examples
for those who may have *sudo* authority but still not know their root
password.

You could — instead — I suppose, show a stanza of the form:

> $ sudo --shell
> $ ... commands requiring root authority
> $ exit

... which would be analogous to:

> $ su
> $ passwd
> $ ... commands requiring root authority
> $ exit

... and leave the choice about the kind of "push" stanza to the user.

You could even document

> $ su -c cmd
> $ passwd

as an alternative to

> $ sudo cmd

... but seerwiously "Everybody" should understand what is going on
with *sudo* whether they install it or not ... I think.


- -- 
.. Be Seeing You,
.. Chuck Rhode, Sheboygan, WI, USA
.. Weather:  http://LacusVeris.com/WX
.. 8° — Wind W 15 mph

-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCZahOjgAKCRBg2/xipKOW
UpeYAJ4qvPiQ88/+gVcYWoVz8y1P/ES8kwCeNcvBCmxnGU72Ahvu3tMtPFmIabk=
=1pkv
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/20240117160254.72f83859%40BigTimber.LacusVeris.com.

Reply via email to