On Monday, October 3, 2016 at 12:53:01 PM UTC-7, mwall wrote:
>
> normally it is not a problem to run weewx as root, but if you need to 
> harden the system, creating a separate weewx user can be a good thing.
>
>
>
Garrick - if you want to concentrate on other stuff like flying, just 
running it as-is will probably be your lowest blood pressure option...

Short answer is the pi os defaults to a non-privileged account 'pi' as you 
have found out.  So when you run commands manually on the pi that 'need' 
privileges, you just need to preface your command with 'sudo' to make that 
command (only) run with privileges.  The startup files for weewx do this 
for you because the startup sequence runs as the privileged user 'root'. 
 At the keyboard you need to do it yourself.

weewx is a little unusual these days in that it runs as root rather than a 
non-privileged account of its own, so when the startup scripts etc. run at 
system bootup there aren't any of those kinds of permission issues.  It's a 
little different approach, with some historical reasons I guess behind it 
that aren't worth going into.



-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to