Skip to content

msantos/noprivexec-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

SEE ALSO

exec(3), prctl(2)

About

noprivexec: disable setuid privileges

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages