Re: Issue in man page proc_pid_fd.5
From: Alejandro Colomar <alx@kernel.org>
Date: 2024-11-17 11:58:10
Attachments
- signature.asc [application/pgp-signature] 833 bytes
From: Alejandro Colomar <alx@kernel.org>
Date: 2024-11-17 11:58:10
Hi Helge, On Sun, Nov 17, 2024 at 11:52:09AM GMT, Helge Kreutzmann wrote:
Hello Alejandro, Am Sun, Nov 17, 2024 at 12:30:28PM +0100 schrieb Alejandro Colomar:quoted
On Sun, Nov 17, 2024 at 10:46:22AM GMT, Helge Kreutzmann wrote:quoted
Without further ado, the following was found: Issue: When executing this commands, sudo prompts me for my passwordAnd what's the problem?From reading the example, this is not expected. But if this is implied/clear, then I can mark this accordingly in our file.
sudo(8) asks for a password depending on having run sudo(8) before, and depending on its configuration. I think we can omit it, but I'm open to being convinced otherwise. Cheers, Alex
quoted
quoted
"$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 deniedGreetings Helge
-- <https://www.alejandro-colomar.es/>