From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Cc: Maupertuis Philippe <philippe.maupertuis@worldline.com>
Subject: Re: Setting loginuid for a process starting at boot
Date: Mon, 13 Jan 2014 15:16:21 -0500 [thread overview]
Message-ID: <1583332.IZPiC8c0Xe@x2> (raw)
In-Reply-To: <1389643975.15435.16.camel@flatline.rdu.redhat.com>
On Monday, January 13, 2014 03:12:55 PM Eric Paris wrote:
> 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 ?
The loginuid is supposed to be used only for real user sessions. The daemon
would not normally qualify as a user session. I suspect that this is needed
because we have no way to audit by process name. I suspect that is the real
issue that leads to needing to use the loginuid for something it was not
intended for.
-Steve
next prev parent reply other threads:[~2014-01-13 20:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-12 22:00 Setting loginuid for a process starting at boot Maupertuis Philippe
2014-01-13 20:12 ` Eric Paris
2014-01-13 20:16 ` Steve Grubb [this message]
2014-01-13 21:17 ` RE : " Maupertuis Philippe
2014-01-13 22:05 ` Steve Grubb
2014-01-14 13:13 ` Maupertuis Philippe
2014-01-14 14:33 ` Steve Grubb
2014-01-14 15:55 ` Maupertuis Philippe
2014-01-14 16:15 ` Steve Grubb
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1583332.IZPiC8c0Xe@x2 \
--to=sgrubb@redhat.com \
--cc=linux-audit@redhat.com \
--cc=philippe.maupertuis@worldline.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.