1 |
On Monday 21 Oct 2013 20:26:20 Daniel Frey wrote: |
2 |
> On 10/21/2013 04:39 AM, J. Roeleveld wrote: |
3 |
> > Adam Carter <adamcarter3@×××××.com> wrote: |
4 |
> > I probably haven't looked at this file for years, but it contains |
5 |
> > |
6 |
> > named:x:40:40:added by portage for bind:/etc/bind:/sbin/nologin |
7 |
> > #named:x:40:40:added by portage for bind:/etc/bind:/bin/bash |
8 |
> > |
9 |
> > #postfix:x:207:207:added by portage for |
10 |
> > postfix:/var/spool/postfix:/sbin/nologin |
11 |
> > postfix:x:207:207:added by portage for |
12 |
> > postfix:/var/spool/postfix:/bin/bash |
13 |
> > |
14 |
> > I've now changed postfix to nologin, and since then it has restarted |
15 |
> > cleanly and accpted new mail. |
16 |
> > |
17 |
> > Does anyone have similar in their passwd or is this weird? |
18 |
> > |
19 |
> > I have never seen comments in my /etc/passwd file. |
20 |
> > That would really cause some alarmbells to ring in my head. |
21 |
> |
22 |
> I've seen comments like this when portage makes changes, specifically in |
23 |
> /etc/portage/package.* - usually when package atoms change. Don't know |
24 |
> why it would do that with /etc/passwd though. Maybe it's an ebuild bug? |
25 |
> |
26 |
> Dan |
27 |
|
28 |
I have similar here for various packages, which have :/sbin/nologin, e.g.: |
29 |
|
30 |
pcscd:x:109:103:added by portage for pcsc-lite:/var/run/pcscd:/sbin/nologin |
31 |
ipsec:x:110:998:added by portage for strongswan:/dev/null:/sbin/nologin |
32 |
polkitd:x:111:997:added by portage for polkit:/var/lib/polkit-1:/sbin/nologin |
33 |
|
34 |
-- |
35 |
Regards, |
36 |
Mick |