• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

CentOS 7 hardening for plesk 12.5

Oto Tortorella

Basic Pleskian
Hello there,

I'm using CentOS 7, minimal install, and trying to harden it for the very first time.
I'm insicure on what resources Plesk 12.5 needs.

Among the others I have theese two service enabled:
polkit.service
dbus.service

Anyone can tell me if theese are needed by plesk or I can safely disable and mask them?

Thanks
Oto Tortorella
TeleType
 
I think it is called "minimal install", because it is the minimum you will need for trouble-free operations. Plesk adds several things to it, but only what Plesk needs.
 
Thank you Peter, I remove a lot of things from the minimal install of CentOS 5/6, less in CentOS 7. There is something still unuseful for Plesk but it seems more "Minimal" then the previous versions.

I found that the polkit.service and the dbus.service are not demons but services that will be called when needed, so they can stay there without wasting resources.
From a security point of wiew and in order to reduce the attackable surface, you should remove them but polkit is a dependency of The NetworkManager and dbus is used by systemd.
If you want to remove polkit, you can, but you should change the way network is managed in CentOS 7, feasible but better stay into the standards.
D-bus is now a requirement for the base system, you cannot remove it. I was used to remove it in CentOS 5/6, but now you cannot.

Hope this can be useful.

Thank you
Oto tortorella
 
Last edited:
Back
Top