Restarting a service as user instead as root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 13.08.2018 um 11:28 schrieb Cecil Westerhof:
> I have a service that is run as a different user as root. But only root
> can restart the service. Is there a way to make 'systemctl restart' work
> for the user that runs the service?

not for system services

just because a service binary drops privileges to a different user is no
indication that this user is allowed to control the service itself - for
security the opposite is true


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux