You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When syncthing is installed via arbiam-config the installation is made so that the service is run as root. This is discouraged by the syncthing team, see here: https://forum.syncthing.net/t/running-syncthing-as-root/6316
So this should be default configured for the usage of an unpriviledged user.
The text was updated successfully, but these errors were encountered:
Running as root is irresponsible and needs to be changed (checking id, using ${SUDO_USER} for the whole stuff and asking which user account to choose in case the user directly logged in as root)
I would check if ${SUDO_USER} contains a valid user name. If that's the case this user will be used otherwise a dialog with available user accounts should be presented as you suggested. If there's none (only root) then I would stop and tell the user to create an unprivileged user account being member of sudo group first and then try again.
When syncthing is installed via arbiam-config the installation is made so that the service is run as root. This is discouraged by the syncthing team, see here:
https://forum.syncthing.net/t/running-syncthing-as-root/6316
So this should be default configured for the usage of an unpriviledged user.
The text was updated successfully, but these errors were encountered: