* NEWS, src/su.c: Do not forward the controlling terminal to

commands executed with -c. This prevents tty hijacking which could
	lead to execution with the caller's privileges. This required to
	forward signals from the terminal (SIGINT, SIGQUIT, SIGTSTP) to
	the executed command.
This commit is contained in:
nekral-guest
2011-06-05 14:41:15 +00:00
parent a8ca723277
commit b5403415f7
3 changed files with 64 additions and 14 deletions

View File

@@ -1,3 +1,11 @@
2011-06-05 Nicolas François <nicolas.francois@centraliens.net>
* NEWS, src/su.c: Do not forward the controlling terminal to
commands executed with -c. This prevents tty hijacking which could
lead to execution with the caller's privileges. This required to
forward signals from the terminal (SIGINT, SIGQUIT, SIGTSTP) to
the executed command.
2011-06-05 Nicolas François <nicolas.francois@centraliens.net>
* NEWS, src/userdel.c: Do not remove a group with the same name as