- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: No core dump after setuid
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2004 11:18 PM
10-31-2004 11:18 PM
No core dump after setuid
When killing process Y, no core dump is produced. If it's not possible, what would be the best way to allow user X to access /dev/dlpi? (No, I won't change the ownership of that file ;| )
(Regarding to archives, there's no way to get core on this situation...)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2004 11:28 PM
10-31-2004 11:28 PM
Re: No core dump after setuid
Make sure you have enough space in current working dir.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2004 11:32 PM
10-31-2004 11:32 PM
Re: No core dump after setuid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 03:29 AM
11-01-2004 03:29 AM
Re: No core dump after setuid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 12:13 AM
11-02-2004 12:13 AM
Re: No core dump after setuid
The typical way of handling the issue you talk about - access to a device - is usually handled by a wrapper program. For example, in HP-UX, /usr/bin/X11/X is a wrapper that will call the 'real' Xserver - Xhp or Xf86. Only /usr/bin/X11/X is setuid and that only in a limited area. This is a common technique also seen in Linux OS as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 04:45 AM
11-02-2004 04:45 AM
Re: No core dump after setuid
# echo "dump_all/W 1" | adb -k -w /stand/vmunix /dev/mem
in some releases of HP-UX will likely do what you want. (This syntax changes the running kernel but the change disappears on the next reboot.) Setting dump_all to 0 instead of 1 restores 'normal' behavior.
Again, this is an UNSUPPORTED variable, subject to removal/change at any time without notice. As with any such patching of kernel memory, use at your own risk!!
I stress that making this change introduces a significant security risk to the system. It may be very helpful as a TEMPORARY change for debugging, but is certainly not a change I would recommend on any system that may be subject to hostile users.