Solved

Linux X Windows App Won't  Dump Core

Posted on 2000-04-06
1
267 Views
Last Modified: 2010-04-21
My linux X Windows app won't dump the core on signal 11 if the application is brought up using a shell script set to respawn in the inittab file. This script calls xinit which in turn executes .xinitrc which brings up the application. In order to run from inittab, permissions are set to 4555 on the executable. If I run the application from command line in an xterm, the core will get dumped on signal 11? Interesting note: core will dump on signal 11 with same application running on SCO Open Server (from inittab or xterm)?
0
Comment
Question by:longmarco
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
hawkfan earned 75 total points
ID: 2843564
suid executables won'd dump core on Linux for security reasons.  I think the check is ruid == euid then dump else don't.

I think the only way to remove that feature is to remove the check in the kernel code.

Why do you want it to dump core if you're not debuging it anyway?  If you are still debuging it why is it running suid? ;)


0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question