Creating a core dump / backtrace from /bin/login
Till Maas
opensource at till.name
Sat Sep 27 20:36:04 UTC 2008
On Sat September 27 2008, John Reiser wrote:
> > How can I set ulimits for /bin/login?
>
> For a general program: wrap the program in a shell script. Move the
> program to a new name somewhere else, then put a script at the original
> name: #! /bin/bash
> ulimit -c unlimited
> exec /path/to/new/name/of/original/program "$@"
Thank you, this worked perfectly.
Regards,
Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20080927/86e8603b/attachment.sig>
More information about the fedora-devel-list
mailing list