RE: https://mastodon.social/@cr1901/113455467204312327 Future-me coming back to ...
William D. Jones @cr1901@mastodon.social
RE: https://mastodon.social/@cr1901/113455467204312327
Future-me coming back to answer this: sudo uses fcntl with the F_SETLKW on /run/sudo/ts/$USER. It won't open /dev/tty unless it has an exclusive lock on this file (and even then, it will only open /dev/tty if it deems necessary).