pcp
[Top] [All Lists]

Re: access to /proc/pid/maps

To: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Subject: Re: access to /proc/pid/maps
From: Martins Innus <minnus@xxxxxxxxxxx>
Date: Tue, 2 Jul 2013 18:55:29 -0400
Cc: "pcp@xxxxxxxxxxx" <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <y0mobak7ijr.fsf@xxxxxxxx>
References: <51D3282C.3060806@xxxxxxxxxxx> <y0mobak7ijr.fsf@xxxxxxxx>



The impending default solution to this is the pmcd
authenticated-connection mode, wherein a pcp client can forward user
identity to pmcd, after which the pmda-linux code can setuid to that
user temporarily to service proc requests.  The new AF_UNIX pmcd
transport will pass credentials automatically.  That should handle
users being able to monitor their own processes, or root monitoring
everyone, without having to run pmcd itself as root.

- FChE

Ok, that sounds good. So I could run pmlogger as root and collect information for all processes when this is implemented?

Thanks

Martins
<Prev in Thread] Current Thread [Next in Thread>