I configured /etc/security/limits.conf like this.

```
user1               soft    core            0
user1               hard    core            0

```

Then, I rebooted the system and logged in as root
then I did this.

```
su user1
ulimit -c unlimited

```

then I executed a buggy application to generate core file.
since I set the core limit to zero from limits.conf, I expected the core will not be generated but, that was not the result, the core was normally generated.
what's wrong??

some advice would be appreciated.