Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Dedicated user for Mosquitto

Hi Roger,

Sorry you’re right: owner is indeed user ‘mosquitto’ group is root. I was
confused as there was no /home/mosquitto directory. But the user is in
/etc/passwd (with nologin). So, everything is working fine. Many thanks.

Cheers,
Guy


On 25/07/14 19:09, "Roger Light" <roger@xxxxxxxxxx> wrote:

>Hi Guy,
>
>That's odd, it should have. What use owns the directory
>/var/lib/mosquitto/ ?
>
>Cheers,
>
>Roger
>
>On Fri, Jul 25, 2014 at 6:02 PM, Guy Dillen <guy.dillen@xxxxxxxxx> wrote:
>> Hi Roger,
>>
>> Thanks.
>>
>> I installed based on this http://mosquitto.org/?s=repository document.
>> This creates no Œmosquitto² user. I suppose you meant some different way
>> of installing? I suppose I still can change creating a user mosquito
>>that
>> runs the broker?
>>
>> Thanks.
>> Guy
>>
>>
>> On 25/07/14 18:43, "Roger Light" <roger@xxxxxxxxxx> wrote:
>>
>>>Hi Guy,
>>>
>>>The Debian packet is set up to create a "mosquitto" user for the
>>>broker to run under, it should not be run as root ideally.
>>>
>>>I don't think there is any advantage to having your
>>>publishers/subscribers running as the same user. It would be best to
>>>isolate them except for their communication through the protocol.
>>>
>>>Regards,
>>>
>>>Roger
>>>
>>>
>>>On Fri, Jul 25, 2014 at 1:49 PM, Guy Dillen <guy.dillen@xxxxxxxxx>
>>>wrote:
>>>> Hi,
>>>>
>>>> I installed the latest Mosquitto message broker (as root user) on my
>>>>Linux
>>>> (Debian and Raspbian) box. Everything works fine. I have a question:
>>>>is
>>>>it
>>>> advisable to create a dedicated user e.g. Œmosquitto¹ as the user
>>>>where
>>>>all
>>>> messages should be send too (published) and which all subscribers
>>>>should
>>>> use?  I haven¹t looked that far into Mosquitto: but is it possible to
>>>>have
>>>> restrictions on topic-level?
>>>>
>>>> Thanks.
>>>>
>>>>
>>>> _______________________________________________
>>>> mosquitto-dev mailing list
>>>> mosquitto-dev@xxxxxxxxxxx
>>>> To change your delivery options, retrieve your password, or
>>>>unsubscribe
>>>>from
>>>> this list, visit
>>>> https://dev.eclipse.org/mailman/listinfo/mosquitto-dev
>>>_______________________________________________
>>>mosquitto-dev mailing list
>>>mosquitto-dev@xxxxxxxxxxx
>>>To change your delivery options, retrieve your password, or unsubscribe
>>>from this list, visit
>>>https://dev.eclipse.org/mailman/listinfo/mosquitto-dev
>>
>>
>> _______________________________________________
>> mosquitto-dev mailing list
>> mosquitto-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe
>>from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/mosquitto-dev
>_______________________________________________
>mosquitto-dev mailing list
>mosquitto-dev@xxxxxxxxxxx
>To change your delivery options, retrieve your password, or unsubscribe
>from this list, visit
>https://dev.eclipse.org/mailman/listinfo/mosquitto-dev




Back to the top