public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] /etc/passwd entry query
Date: Tue, 22 Oct 2013 06:19:05 +0100	[thread overview]
Message-ID: <201310220619.29232.michaelkintzios@gmail.com> (raw)
In-Reply-To: <52657FDC.6020501@gmail.com>

[-- Attachment #1: Type: Text/Plain, Size: 1481 bytes --]

On Monday 21 Oct 2013 20:26:20 Daniel Frey wrote:
> On 10/21/2013 04:39 AM, J. Roeleveld wrote:
> > Adam Carter <adamcarter3@gmail.com> wrote:
> >     I probably haven't looked at this file for years, but it contains
> >     
> >     named:x:40:40:added by portage for bind:/etc/bind:/sbin/nologin
> >     #named:x:40:40:added by portage for bind:/etc/bind:/bin/bash
> >     
> >     #postfix:x:207:207:added by portage for
> >     postfix:/var/spool/postfix:/sbin/nologin
> >     postfix:x:207:207:added by portage for
> >     postfix:/var/spool/postfix:/bin/bash
> >     
> >     I've now changed postfix to nologin, and since then it has restarted
> >     cleanly and accpted new mail.
> >     
> >     Does anyone have similar in their passwd or is this weird?
> > 
> > I have never seen comments in my /etc/passwd file.
> > That would really cause some alarmbells to ring in my head.
> 
> I've seen comments like this when portage makes changes, specifically in
> /etc/portage/package.* - usually when package atoms change. Don't know
> why it would do that with /etc/passwd though. Maybe it's an ebuild bug?
> 
> Dan

I have similar here for various packages, which have :/sbin/nologin, e.g.:

pcscd:x:109:103:added by portage for pcsc-lite:/var/run/pcscd:/sbin/nologin
ipsec:x:110:998:added by portage for strongswan:/dev/null:/sbin/nologin
polkitd:x:111:997:added by portage for polkit:/var/lib/polkit-1:/sbin/nologin

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

      reply	other threads:[~2013-10-22  5:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-21 11:35 [gentoo-user] /etc/passwd entry query Adam Carter
2013-10-21 11:39 ` J. Roeleveld
2013-10-21 19:26   ` Daniel Frey
2013-10-22  5:19     ` Mick [this message]

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=201310220619.29232.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox