I am having a weird issue with one of my services that I’ve setup to run as an AD user and user group using parameters in the conf file, setuid and setgui. When I run the service with setuid only everything works fine. The moment I add setguid, I get an error in journal saying that setguid operation is not permitted. After checking the secure file, I can tell that the service is trying to run the setguid as nobody… is this because my default user group differs from my setguid? Any tips?
This is happening in rhel 8.
*.service
file or some other configuration file? Please clarify by editing your question post. – telcoM Nov 09 '23 at 08:37setgui
orsetguid
? Did you meansetgid
? Do you use systemd? Do you mean setuid/setgid bits in filesystem? It's rather confusing. – stoney Nov 09 '23 at 11:41