On Sat, Nov 27, 2021 at 8:19 AM Gordon Roy <[email protected]> wrote:
> Service is set to start in init.d and should be running as root. Manual > starts we’re done running sudo service guacd start. > > Running guacd as root is both unnecessary and not really secure. However, just because you run "sudo services guacd start" doesn't necessarily mean it is running as root - it could be that the script contains some other call to "su" or something like that to start it as a different user. > Where can I find what user is being used to start the service? > > You'll need to look at either the guacd init script or guacd systemd unit file, depending on which service control system is being used, to see what account it is being launched as. If it can't write the PID file then it either isn't running as root and has lost permissions to the folder, or it is running as root but the location it's expecting isn't there. -Nick >
