Košík je prázdný

Jak na vypnutí služby portmapper na VPS

S pořízením VPS serveru vznikají klientovi i malé povinnosti, které musí na serveru aplikovat. Mimo jiné musí klient zkontrolovat všechny služby a služby nepotřebné nebo potenciálně nebezpečné vypnout. Mezi takovou službu patří portmapper. Níž naleznete seznam příkazů, kterým postmapper na serveru zabezpečíte.

CentOS 6:
chkconfig rpcbind off
chkconfig rpcgssd off
chkconfig rpcidmapd off
chkconfig rpcsvcgssd off
service rpcbind stop
service rpcgssd stop
service rpcidmapd stop
service rpcsvcgssd stop

CentOS 7
systemctl stop rpc-gssd.service
systemctl stop rpc-statd-notify.service
systemctl stop rpc-statd.service
systemctl stop rpc-svcgssd.service
systemctl stop rpcbind.service
systemctl stop rpcgssd.service
systemctl stop rpcidmapd.service
systemctl stop rpcsvcgssd.service
systemctl stop rpcbind.socket
systemctl stop rpcbind.target

systemctl disable rpc-gssd.service
systemctl disable rpc-statd-notify.service
systemctl disable rpc-statd.service
systemctl disable rpc-svcgssd.service
systemctl disable rpcbind.service
systemctl disable rpcgssd.service
systemctl disable rpcidmapd.service
systemctl disable rpcsvcgssd.service
systemctl disable rpcbind.socket
systemctl disable rpcbind.target

Debian:
chkconfig portmap off
/etc/init.d/portmap stop