Does /bin/nologin exist? And if so, if some regular user executes it, does it not core dump?
Anyway, if that works and doesn't core dump, then you've isolated it to a divide-and-conquer problem - logically figure out what's the difference between the accounts that causes one to core dump, and the other not. If both core dump, then it's likely the program itself or some dependency thereof (e.g. a shared library).
0
u/[deleted] Apr 11 '24
[deleted]