Skip to content

Suggestion - Update docs to add service users to /etc/group gpio group #141

Discussion options

You must be logged in to vote

Hi @jhuettner sorry it took so long to respond to this! The first half of this year wasn't great for me and this must have slipped through the cracks. Thank you for your kind words.

It is up to you if you want to create a dedicated user, but MQTTany is happy to run as any user.

The need for permissions is documented in each module's documentation as different permissions may be needed for different modules. This is indicated at the top of the GPIO page.

That said, however, the call to os.getlogin() is meant only to return the user MQTTany is running as for the log message that says you don't have permissions. I'm not sure why it failed but that is a bug and warrants investigation. I have …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by CrazyIvan359
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants