I haven't found any thread related to the creation of weewx user and 
group...
PY

Le mardi 13 février 2024 à 22:14:40 UTC+1, Pierre-Yves a écrit :

> Thanks Vince.
> I'll try to find the way to do that
>
> Le mardi 13 février 2024 à 22:05:10 UTC+1, vince a écrit :
>
>> oops, I meant running as 'weewx' or 'pi' or 'something else'....
>>
>> The reason I'm asking is that your systemctl log shows a sudo error that 
>> means that the account you are trying to use sudo under is not permitted to 
>> do so.  The default dpkg installation creates a weewx user and group but 
>> does not create a /etc/sudoers.d file for that user.  So the weewx user is 
>> not going to be able to sudo if you specify that.
>>
>> But....you should be able to add the weewx user to the correct group(s) 
>> that can access your hardware.  I think there are other threads related to 
>> how to do that.
>>
>> On Tuesday, February 13, 2024 at 12:57:21 PM UTC-8 vince wrote:
>>
>>> On Tuesday, February 13, 2024 at 12:31:54 PM UTC-8 Pierre-Yves wrote:
>>>
>>> Weewx and webserver are perfectly working in simulator mode with "sudo 
>>> systemctl start weewx" command
>>>
>>>
>>> Good.  That means your problem appears to be related to getting weewx as 
>>> a non-privileged user to access your RTL-STR hardware.
>>>
>>> When running weewx using the Simulator does "ps aux|grep weewxd" show it 
>>> running as weewxd ?  Or pi ?  Or something else ?
>>>
>>>  
>>>
>>

-- 
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/1af5eb92-a0d1-41f9-8881-2e3b69045775n%40googlegroups.com.

Reply via email to