我正在尝试更改核心转储文件写入的行为,如下所述: http : //publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix .cmds / DOC / aixcmds1 / chcore.htm
但是,当我再次login时,即使设置似乎已经生效(通过lscoretesting),我执行的testing进程的核心转储仍然写入进程的当前工作目录中。
>lscore compression: off path specification: on corefile location: /usr/local/cores naming specification: on
奇怪的是,如果我然后对同一个用户执行“su – ”,那么核心转储就被写入预期目录(usr / local / cores,而不是当前工作目录)。
有任何想法吗?
啊,在这里find答案: https : //www-304.ibm.com/support/docview.wss?uid=isg3T1010900
需要在/ etc / ssh / sshd_config中将UseLogin设置为“yes”