Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/msantos/noprivexec-rs
noprivexec: disable setuid privileges
https://github.com/msantos/noprivexec-rs
exec pledge prctl procctl setuid
Last synced: 3 days ago
JSON representation
noprivexec: disable setuid privileges
- Host: GitHub
- URL: https://github.com/msantos/noprivexec-rs
- Owner: msantos
- License: isc
- Created: 2022-03-01T13:19:09.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-22T11:10:08.000Z (5 months ago)
- Last Synced: 2024-11-02T01:06:56.641Z (about 2 months ago)
- Topics: exec, pledge, prctl, procctl, setuid
- Language: Rust
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SYNOPSIS
noprivexec *cmd* *...*
# DESCRIPTION
noprivexec: disable setuid privileges
`noprivexec` disables the ability to use setuid privileges before executing
a command.# EXAMPLES
```
$ noprivexec echo test
test$ noprivexec sudo echo test
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?$ noprivexec ping 8.8.8.8
ping: icmp open socket: Operation not permitted
```# Build
```
cargo build
```# OPTIONS
# ALTERNATIVES
- [noprivexec](https://github.com/msantos/noprivexec)
# SEE ALSO
*exec(3)*, *prctl*(2)