node-installer
node-installer copied to clipboard
Ensure that nodes installed using the installer work with superusers other than 'root'
Summary
During ITN, a node would only work correctly when the setup with ITN-installer was done as user "root". Using any other superuser would result in the node not connecting ("'service rusk status' returning (code=exited, status=101)"). Security best practice is not to use root for a VPS (Digital Ocean and most other how-to's provide specific instructions) and it would be great if this is taken into account.
Detailed Description (optional)
Not sure if this is a bug or expected behavior but many node runners will prefer not to use the root user but a newly created user.
Steps to reproduce
- Set up VPS
- Create a new user and grant rights (usermod -aG sudo
) - Install node using ITN-installer and start node
- Check Rusk status: node is not connecting and returns "'service rusk status' returning (code=exited, status=101)"
Relevant context
Happened on the following setups:
- Ubuntu 18.04 and 22.04
- Fresh install on both Digital Ocean and Contabo
Possible Solution (optional)
Ensure any future installer works with any (super)user or that the documentation makes clear how to ensure the user is set up correctly.