Re: Issue in man page proc_pid_fd.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Alejandro,
Am Sun, Nov 17, 2024 at 12:30:28PM +0100 schrieb Alejandro Colomar:
> 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?

From reading the example, this is not expected. But if this is
implied/clear, then I can mark this accordingly in our file.

> > "$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

Greetings

         Helge
-- 
      Dr. Helge Kreutzmann                     debian@xxxxxxxxxxxxx
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux