setuid
"Operation not permitted" while dropping privileges using setuid() function
Why this simple programs that use os.setuid()/gid() fails? Is written in python but I think that is not a language relative problem (at the end are all the same posix system call):[详细]
2023-02-04 14:28 分类:问答setuid has same effect as sudo?
does setting uid has the same effect that sudo has? What happens if setuid\'ed executable open whoami wit开发者_高级运维h popen? Do I get \'root\'?The sudo command affects the credentials of the curre[详细]
2023-01-26 13:21 分类:问答setuid bit result
I have a shell script that I want to s开发者_开发问答et uid bit. I set the owner to root and set uid bit.[详细]
2023-01-26 12:15 分类:问答Considerations for a setuid wrapper
A Python extension I\'ve written requires root access to do a single hardware initialisation call. I\'d rather not run the whole script as root just for this one call 开发者_如何学Goin my extension, s[详细]
2023-01-25 11:39 分类:问答Dropping process rights under windows
I\'m looking for a method to drop process rights for security reasons. I want to start as user with privileges and end as limited user.[详细]
2023-01-21 11:32 分类:问答sgid bit security
I work in a shared web development environment. My team frequently creates new files and folders on the server, but they always need to change group permissions afterward.[详细]
2023-01-19 20:14 分类:问答setting up the environment when changing to another user
I have a bash backup script run as root (cron) that delegates certain tasks to other specific bash scripts owned by different users. (simplified example, principle is, some things have to be done as r[详细]
2023-01-12 15:11 分类:问答Automated testing of privileged operations
How do you unit/integration test code that requires a different privilege level than exists in your continuous integration environment?[详细]
2023-01-09 09:31 分类:问答Passwordless SSH using cgi-perl script
This is my first shot at trying out cgi-perl scripts. I have SSH keys set up between my (root user) local machine and a remote machine. I\'开发者_StackOverflowm trying to run a command on the remote b[详细]
2023-01-01 01:55 分类:问答how do i claim a low-numbered port as non-root the "right way"
I have a script that I want to run as a daemon listening on a low-numbered port (< 1024) Script is in python, though answers in perl are also acceptable.[详细]
2022-12-26 04:07 分类:问答