-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In order to relieve permission issues, switch FTS to user-space #113
Comments
It is not completely possible to eliminate the need to run the installer with
That said, reducing the need to run any step as root is a good thing. |
we can run the installer with SUDO but then run FTS with the new created user |
I had the opportunity to study up on systemd. Rather than running the installer as root the application can use 'systemctl --user ...' as the 'fts' user, rather than 'sudo systemctl ...'. |
Have you tested that? |
I have tested the approach on another similar system. |
Currently FTS installs as root into a root owned directory and FTS processes run as root.
This makes it difficult to administer the services as the base user.
It is possible to perform most administration tasks via
sudo
.e.g.
sudo vi /opt/FTSConfig.yaml
sudo systemctl stop fts.service
sudo vi /root/fts.venv/lib/python3.11/site-packages/FreeTAKServer-UI/config.py
sudo su -
This works but it requires working as
root
which is generally discouraged.To reduce the need to use
sudo
the following changes will be made:fts
user andfts
groupfts:fts
ownership into/opt
(see Install FTS into/opt
instead of/root
#112)fts
permissionssudo
ubuntu
) to thefts
group so it can perform FTS maintenance tasksThe text was updated successfully, but these errors were encountered: