On Sun, Nov 17, 2024 at 10:46:22AM GMT, Helge Kreutzmann wrote: > Without further ado, the following was found: > > Issue: When executing this commands, sudo prompts me for my password And what's the problem? Cheers, Alex > > "$B< echo test | sudo -u nobody cat>\n" > "test\n" > "$B< echo test | sudo -u nobody cat /proc/self/fd/0>\n" > "cat: /proc/self/fd/0: Permission denied\n" alx@debian:~$ sudo echo [sudo] password for alx: alx@debian:~$ echo test | sudo -u nobody cat test alx@debian:~$ echo test | sudo -u nobody cat /proc/self/fd/0 cat: /proc/self/fd/0: Permission denied -- <https://www.alejandro-colomar.es/>
Attachment:
signature.asc
Description: PGP signature