On Monday 21 Oct 2013 20:26:20 Daniel Frey wrote:
> On 10/21/2013 04:39 AM, J. Roeleveld wrote:
> > Adam Carter <[email protected]> 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: signature.asc
Description: This is a digitally signed message part.

Reply via email to