Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to change the behaviour of where core dump files get written to, as described here:

However, when I log in again, even though the setting seems to have taken effect (testing through lscore), the core dump for a test process I execute are still written in current working directory of the process.

compression: off
path specification: on
corefile location: /usr/local/cores
naming specification: on

What is strange, is that if I then perform "su -" to the same user, the core dumps are then written in the expected directory (usr/local/cores, not current working directory).

Any ideas?

share|improve this question

Ah, found the answer here:

Need to set UseLogin to "yes" in /etc/ssh/sshd_config

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.