nuvious / pam-duress

A Pluggable Authentication Module (PAM) which allows the establishment of alternate passwords that can be used to perform actions to clear sensitive data, notify IT/Security staff, close off sensitive network connections, etc if a user is coerced into giving a threat actor a password.
GNU Lesser General Public License v3.0
1.33k stars 39 forks source link

Have system call default to piping script/binary output to /dev/null #13

Closed nuvious closed 3 years ago

nuvious commented 3 years ago

To meet the intent of this being a "duress" system akin to a silent alarm, there shouldn't be any output from stderr or stdout. Modify the system() call to have stderr and stdout redirected to /dev/null by default.