home
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...
3 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 have been using Apache with mpm-itk for a long time. Today, while upgrading to PHP 7.1 I...
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...
I am trying to execute a C program from multiple users and trying to login as other user within the...
I would like to be able to run certain Perl scripts on my system as root, even though the "user"...
I want to make a custom webserver via golang. It needs root to bind to port 80. However I want to...
I have the following Python script that I'd like to execute with the permissions afforded by the...
All of the literature that I have read so far on setuid talks about seteuid in a way that implies...
I have a text file called Demo, which have write permission for the owner only. I also have an...