[Idea] rootless with optional sudo support #1049
sebastianschauenburg
started this conversation in
Ideas
Replies: 1 comment 1 reply
|
yes, it actually requires to run as root on unix/linux and as Administrator on windows. It does so as many inventory data is only available in that context. And, as glpi-agent is a fork of fusioninventory-agent, it historically does like that since the beginning (more than 15 years ago). I don't think it's a good idea to change that logic today. It would require a lot of changes and I'm sure users will complain about everything this can involve. Of course we could probably make the root mode remain the default and have a rootless one choose by option. But there's a huge work behind to achieve such an option. So can you clarify why you think it's a good idea ? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Your idea
If I understand correctly, the agent requires root permissions (e.g. runs as root).
As a feature request, I would want to ask to consider a rootless approach.
This could be implemented by using sudo for the parts which actually really require root.
And/or perhaps making the parts which require root permissions, optional.
All reactions