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