Core dumps can contain sensitive data. Protections can include file permissions and logging core dump events. For more information, refer to the Oracle Solaris coreadm(1M) man page and the chmod(1) man page.
Use the coreadm command to view and set the current configuration.
# coreadm global core file pattern: /var/share/cores/core.%f.%p global core file content: default init core file pattern: core init core file content: default global core dumps: enabled per-process core dumps: enabled global setid core dumps: disabled per-process setid core dumps: disabled global core dump logging: enabled
# coreadm -g /var/cores/core_%n_%f_%u_%g_%t_%p \ -e log -e global -e global-setid \ -d process -d proc-setid
# ls -ld /var/share/cores drwx------ 2 root root 2 Aug 2 2015 cores/
# chmod 700 /var/share/cores