Wayne <nm73weewx_u...@fastmail.com> writes:

> Hello - I am a new weewx user with medium proficiency in linux.  Running on a 
> Raspberry Pi 4 installed from DEB package.
>
> Is there any benefit to creating a superuser account specifically for
> weewx instead of running as "root"?  It seems to me it would be a
> better practice for using rsync to transfer files to an http server on
> another machine.  Or maybe it's not worth the effort.  Comments??

Yes, it's basically always better to have a uid (and to a lesser extend
gid) for each daemon and to grant them access to as little as possible.

weewx doesn't need to be root, in general.   It just needs rw access to
devices that access weather stations, at least in my case.

https://en.wikipedia.org/wiki/Principle_of_least_privilege

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/rmiy1q0ivgj.fsf%40s1.lexort.com.

Reply via email to