3 ms·
> su/sudo aren't around at the end. Yes, they are. The world has changed since the 1980s. This particular aspect changed in the middle 1990s. * http://jdebp
by JdeBP 8y ago
> su/sudo aren't around at the end.
Yes, they are. The world has changed since the 1980s. This particular aspect changed in the middle 1990s.
* http://jdebp.eu./FGA/dont-abuse-su-for-dropping-privileges.html http://jdebp.eu./FGA/dont-abuse-su-for-dropping-privileges.h...
There are plenty of tools for manipulating pseudo-terminals, but the correct solution here, that people have been pressing for for quite a number of years now and that some kernel people have already implemented, is to simply remove this ioctl() entirely. setsid() is incorrect for the reasons that Karel Zak alluded to in June 2017, and the work to patch the few users of TIOCSTI such as the C shell and mail has already been done by the OpenBSD people.
* https://news.ycombinator.com/item?id=17312775 https://news.ycombinator.com/item?id=17312775
* http://jdebp.eu./Softwares/nosh/guide/commands.html#ChainLoading http://jdebp.eu./Softwares/nosh/guide/commands.html#ChainLoa...
* http://jdebp.eu./Softwares/djbwares/ http://jdebp.eu./Softwares/djbwares/