Re: Access to unix socket files

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



Hi,

> not able to get any information on active unix
domain sockets
What do you mean by this? Can you provide more context, such as the command you tried to run and the resulting error message?

---
Paul M. Ärloch
Lingvam scriptvm habere debes vt hanc paginam inspicias.

------- Original Message -------
On Wednesday, August 16th, 2023 at 3:12 PM, Hauke Fath <hf@xxxxxxxxxxxxxxxxxxx> wrote:


> Hi,
> 
> while scripting around ssh-agent(8), I noticed that on Arch a
> non-privileged user is not able to get any information on active unix
> domain sockets - not even her own.
> 
> I tried fuser(1), lsof(8) and sockstat(1). While the lsof(8) man page
> hints at requiring 'setuid root' on some OSes, that doesn't make a
> difference, nor does it for the other two tools.
> 
> You appear to only get information on domain sockets as root.
> 
> Is this behaviour intended? It is certainly not documented. A Debian 11
> machine I tried behaves differently, as do NetBSD, FreeBSD and OmniOS.
> 
> What is the rationale for this default? And how can I change it?
> 
> Cheerio,
> Hauke
> 
> --
> The ASCII Ribbon Campaign Hauke Fath
> () No HTML/RTF in email Institut für Nachrichtentechnik
> /\ No Word docs in email TU Darmstadt
> Respect for open standards Ruf +49-6151-16-21344




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux