3

While installing AWS IoT Greengrass for Raspberry Pi, there is a need to create ggc_user & ggc_group as mentioned in Greengrass developer guide step 9:

sudo adduser --system ggc_user

sudo addgroup --system ggc_group

Q1) Is it possible to use another user & group or customize?

Q2) What other configurations will be required to change in raspberry pi setup or greengrass setup or AWS Console then to make greengrass work on pi?

EDITED QUESTION: if rename ggc_user name to XYZ_user, why do greengrass-sdk stop working? Do i need to use this new username on any other files or setup/config of greengrass?

  • Why don't you want to create a specific user/group? – hardillb Dec 20 '18 at 18:10
  • 1
    @hardillb it is part of instructions which is out of my reach to alter. i am actually trying to make solution which will run from windows host and will automatically (and somewhat blindly) setup "targeted solution" to new raspberry pi clients. and i believe the ggc_user is required to customize as part of this desired solution's security aspect. – JPI Dec 21 '18 at 7:39
  • 1
    That doesn't really explain why you want to change the user/group. Edit the question to include why you want to change it and what benefit you think it will give you. – hardillb Dec 21 '18 at 8:45
  • @hardillb As i mentioned earlier, it is kind of security aspect requirement. Mainly there is no out-of-box setting allowed and therefore i want to use custom username/group instead of fixed ggc_user. i hope that clarifies the purpose. Thanks – JPI Dec 21 '18 at 17:52
  • As I said EDIT the question, and changing the name of the group/user makes no difference to the security as the user won't be able to logon to the machine no matter what you name it – hardillb Dec 21 '18 at 20:06