On Mon, Sep 12, 2005 at 09:25:21PM +1000, Craig Small wrote: > On Mon, Sep 12, 2005 at 01:04:03PM +0200, Robert Millan wrote: > > It seems it's not capable of detecting open ports whose processes aren't > > owned > > by the same user that runs fuser. It should print a warning when this > > happens. > > It's not capable of knowing about any access from any process it cannot > read /proc/<pid>/fd It is not tcp or socket specific. > > # fuser /var/log/syslog > /var/log/syslog: 4245 > # exit > $ fuser /var/log/syslog > $ > > Now, the problem here is that if it knew a process had access, then it > could print it. But if it cannot know that, it cannot know it missed it. > > However a note in the man page would probably help.
Perhaps printing a message when running as non-root would help. Or even consider making it SUID (are there any security implications in providing this information to a mallicious user?). -- Robert Millan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]