An article on how to execute a command via Python.
Month: November 2020
How to make openssl non interactive while signing a certificate.
Use -batch option
e.g:-
openssl ca -batch -config "$CONF" -out "$BOXCERT" -infiles "$CSRFILE"
use the kernel core_pattern parameter. This may be useful if you want to save the core in an NFS location.
[root@test:~]$cat /proc/sys/kernel/core_pattern
/var/core/dumps/%t_%e_core.%p
[root@test:~]$sysctl -w kernel.core_pattern=’/remote/dumps/%t_%e_core.%p’
[root@test:~]$cat /proc/sys/kernel/core_pattern
/remote/dumps/%t_%e_core.%p