Wednesday, January 20, 2021

Apache: Forensic Module

 LoadModule log_forensic_module /usr/lib64/httpd/modules/mod_log_forensic.so

<IfModule log_forensic_module>

        ForensicLog /logs/httpd/forensic.log

</IfModule>

Friday, January 1, 2021

Kubernetes: POD: sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?

 $ sudo ping 192.168.0.33

sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?


Adde below entries to target container:

    securityContext:

      allowPrivilegeEscalation: true

      capabilities: {}

      privileged: false

Add side car to running POD

Enable istio injection

$ kubectl label namespace rundeck istio-injection=enabled

Restart Pod

kubectl rollout restart deployment rundeck-deployment