-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
7 lines (4 loc) · 765 Bytes
/
README
File metadata and controls
7 lines (4 loc) · 765 Bytes
1
2
3
4
5
6
7
A simple tool for linux that creates setuid-wrappers for scripts and other executables.
exec-wrapper is a simple tool that creates setuid-wrappers for scripts and other executables. It can be used to allow users to run scripts with temporarily elevated privileges. Just set setuid-bit on script does not work, because OS isn’t run script itself, but it run an interpreter, which isn’t setuid. Exec-wrapper creates small genuine executable (not script) with setuid or setgid bit that simply executes target script.
exec-wrapper also can be used if you want to transparently run programs with elevated priveleges but without using tools like su(1) or sudo(8) and without changing file mode bits on system executables.
For usage details see man 8 exec-wrapper.