From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Paris Subject: Re: Setting loginuid for a process starting at boot Date: Mon, 13 Jan 2014 15:12:55 -0500 Message-ID: <1389643975.15435.16.camel@flatline.rdu.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Maupertuis Philippe Cc: "linux-audit@redhat.com" List-Id: linux-audit@redhat.com On Sun, 2014-01-12 at 23:00 +0100, Maupertuis Philippe wrote: > Hi, > > I want to monitor a process which starts at boot. > > I would like to assign it a specific loginuid for that purpose. > > What is the best way to do that ? Have the init script echo a value into /proc/self/loginuid ?