public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] /etc/passwd entry query
@ 2013-10-21 11:35 Adam Carter
  2013-10-21 11:39 ` J. Roeleveld
  0 siblings, 1 reply; 4+ messages in thread
From: Adam Carter @ 2013-10-21 11:35 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

[-- Attachment #1: Type: text/plain, Size: 510 bytes --]

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?

[-- Attachment #2: Type: text/html, Size: 602 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] /etc/passwd entry query
  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
  0 siblings, 1 reply; 4+ messages in thread
From: J. Roeleveld @ 2013-10-21 11:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 770 bytes --]

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.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

[-- Attachment #2: Type: text/html, Size: 1100 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] /etc/passwd entry query
  2013-10-21 11:39 ` J. Roeleveld
@ 2013-10-21 19:26   ` Daniel Frey
  2013-10-22  5:19     ` Mick
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Frey @ 2013-10-21 19:26 UTC (permalink / raw
  To: gentoo-user

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.
> -- 
> Sent from my Android device with K-9 Mail. Please excuse my brevity.

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] /etc/passwd entry query
  2013-10-21 19:26   ` Daniel Frey
@ 2013-10-22  5:19     ` Mick
  0 siblings, 0 replies; 4+ messages in thread
From: Mick @ 2013-10-22  5:19 UTC (permalink / raw
  To: gentoo-user

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-22  5:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox