Questions tagged [setuid]
36 questions
0
votes
0 answers
Elevated privileges for non-modifiable install script
I need to give permission to a local user to run an installation script that requires root privilege. So I created a special group in which this user is a member of and gave the permissions to the install script as follows:
# chown -R root:grpx…
![](../../users/profiles/240592.webp)
Quiescent
- 125
- 10
0
votes
5 answers
Setuid not working on Solaris
I have a Perl script marked setuid, but when I run it, it says I don't have permission to do so. I am running Solaris 10. This works on another system but I can't tell whats different. What am I doing wrong?
$ ls -l
total 16
-r-sr-x--- 1 root …
![](../../users/profiles/2306.webp)
Eric Johnson
- 303
- 5
- 12
0
votes
1 answer
Prevent setuid from dropping setcap user privileges (VirtualBox)
I'm trying to run a web server from a headless, NAT'd VirtualBox guest. VirtualBox needs to bind to port 80, but the only way to do so is by running VirtualBox as root. To get around this, I tried using setcap, but the VirtualBox process is SUID…
![](../../users/profiles/116571.webp)
xikkub
- 150
- 1
- 9
0
votes
1 answer
How does MySQL run as user "_mysql" on Mac?
On Mac, MySQL seems to save data as the "_mysql" user. Can somebody please explain how this is achieved. I would have expected the MySQL server application (mysqld) to have the setuid flag set, so that it would run as _mysql, but this isn't the…
![](../../users/profiles/52333.webp)
visitor93746
- 103
- 1
- 3
0
votes
0 answers
Using setuid in a Shell Script on Ubuntu 20.04
So I have a Laravel PHP app on Nginx on Ubuntu 20.04. I have a simple deploy.sh script that will:
Put Laravel into maintenance mode, so it returns a 503 error if anyone visits the site
Pulls down the current source from github using a read-only…
user621861
0
votes
1 answer
setuid not working as expected
I have a node js script that listens on a certain port.
If this script receives a json file it needs to execute a deploy script in a users home dir.
The node script runs under node_user.
The homedir is user_b.
I set up an acl so that user…
![](../../users/profiles/556811.webp)
chichi
- 3
- 2