suid
Run SUID C scripts under Apache
i have a cgi script in c the same as this: #include <stdio.h> #include <stdlib.h> #include <string>[详细]
2023-04-09 20:50 分类:问答From PHP/Apache, exec() or system() program as root: "sudo: unable to open audit system: Permission denied"
I have been spending half a day trying to figure this out, and I\'ve done a lot of research.I\'m also familiar with many of the existing discussions on this topic, such as this one:[详细]
2023-04-02 09:06 分类:问答Can gdb debug suid root programs?
I did a program that call setuid(0) and execve(\"/bin/bash\",NULL,NULL). Then I did chown root:root a.out && chmod +s a.out[详细]
2023-03-16 09:50 分类:问答NSTask, command line tools and root
I\'m working on an app that needs to use dd (I do this with a shell script in the app bundle, that collects parameters from the app itself, makes some checks and then launches dd).[详细]
2023-02-27 03:50 分类:问答Semantics of SUID (Set-User-ID)
it seems that I have some trouble understanding the semantics of the SUID bit, perhaps someone can help me clarify the situation.[详细]
2023-02-21 20:00 分类:问答Setting SUID flag on a file?
I have a python file that I would like to set the SUID flag on. So that if any normal user executes it it executes as root. I know it\'s a security issue but I still need to set the SUI开发者_JAVA技巧[详细]
2023-02-03 11:03 分类:问答How to restart Linux from inside a C++ program?
I have a Qt 4 GUI where I need to have a option in a drop-down menu that allows the user to choose to restart the computer. I realize this might seem redunant with the ability to restar开发者_运维问答[详细]
2022-12-27 09:16 分类:问答Output to a text file the pre-compiler code
gcc 4.4.2 c89 I have a file called main.c. I want the result of the pre-comiler and save it to a text file.[详细]
2022-12-17 08:39 分类:问答