*Thank you* so much, John, Matthew, Vince. This totally worked. *Problem
solved*. Here's notes to remind me in the future, with your fixes:
Settinng up RSYNC as weewx user for weewx 5.+
1. ps aux | grep "weewx" (confirm user weewx running weewxd)
2. log in as weewx
sudo usermod -s /usr/bin/bash weewx
sudo su weewx
3. ssh-keygen
4. ssh-copy-id your_remote_server_goes_here
5. ssh to your_remote_server_goes_here (see if you can successfully ssh
without password)
6. rsync test files to your_remote_server_goes_here (see if rsync is
working from cmd line)
7. exit weewx user
8. sudo usermod -s /usr/sbin/nologin weewx
9. check weewx log files -- should be working!
On Wednesday, May 21, 2025 at 1:12:12 PM UTC-4 vince wrote:
> oops - that is /usr/sbin/nologin of course. Sorry.
>
> sudo usermod -s /usr/bin/bash weewx # temporarily change the
> shell to a valid one
> sudo su weewx # now this will work
>
> (do anything requiring running as user weewx)
>
> sudo usermod -s /usr/sbin/nologin weewx # reverse the temporary
> change
>
>
--
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].
To view this discussion visit
https://groups.google.com/d/msgid/weewx-user/480abb0a-b5b4-433c-9979-5d4652d9ec41n%40googlegroups.com.