home
I have quite a tricky situation with permissions. I am running a server-client wxpython...
From The Linux Programming Interface If a set-user-ID-root program must create a file that...
This question already has an answer here: Why do my setuid root bash...
How do I from a PHP script scp a file from a remote server ? I have tried shell_exec("scp...
i'm currently doing the bandit wargames from overthewire.org (for those of you who don't know it's...
My app need to run as none-root user but need to switch to other user to execute some commands. I...
guys. Here's my problem : I have an executable which needs to create a folder in a particular...
In Unix, if I run a binary which mucks around with files, does the binary have the same file...
File Permission with setuid enabled(rws). File Owner: vaisakh [email protected]:~/me$ ls -l total...
I have a python script running as www-data but I would like it to have separate r/w/e permissions...
I have a folder with the following permissions: drwxrws--x+ 13 myuser www-data 4096 Mar 20...
6 months ago

Questions about setuid

I have a problem with running the following C program: #include<unistd.h> void main() { ...
I'm trying something very simple with setuid followed by getuid in a C program that is not working...
This is a repost after being referred to "Calling a script from a setuid root C program - script...
I have a program that captures network traffic off a network interface. (It's a C program sitting...
In CVE-2017-0358, author notes that The issue is that /sbin/modprobe is not designed to run in...
I have the following bash script: echo "$(id -u)" mkdir test My own user id is 1000. Now, when I...
I have this small program: #define _GNU_SOURCE #include <unistd.h> #include...
This question already has an answer here: Calling a script from a...
I am trying to set up a container on my (debian stretch) server, and to lock it down as much as...
TL;DR I am writing a C program. I need to have root privileges to fopen a sysfs file, and I still...
I understand the implications of running a script as root, especially by a web application. However...
I want to build a small web application in Rust which should be able to read and write files on a...
I write C application that calls fork() to create child processes. The application runs as root. In...
If I make a root privileged process impersonate some lesser user, and fork a child, is it safe to...
Python 2.7.12 (default, Nov 19 2016, 06:48:10) Type "copyright", "credits" or "license" for more...
I am trying to understand about buffer overflow and setuid. I use this source : #include...
I'm running an Ubuntu 16.04 LTS system. The entire system is contained in one partition...
I have a setuid program which then calls cpan as root on behalf of the user. This works for...
I have a program write.c, which creates a new file. I compiled that through root user and set the...