Gentoo Archives: gentoo-portage-dev

From: Joakim Tjernlund <Joakim.Tjernlund@××××××××.com>
To: "gentoo-portage-dev@l.g.o" <gentoo-portage-dev@l.g.o>
Subject: Re: [gentoo-portage-dev] portage user not listed in /etc/shadow ?
Date: Wed, 16 Jan 2019 12:59:54
Message-Id: a44e34071b7313cadc513c4633e7c9009b71b674.camel@infinera.com
In Reply to: Re: [gentoo-portage-dev] portage user not listed in /etc/shadow ? by "M. J. Everitt"
1 On Wed, 2019-01-16 at 12:20 +0000, M. J. Everitt wrote:
2 > On 16/01/19 11:58, Joakim Tjernlund wrote:
3 > > How come portage isn't in shadow, only in passwd ?
4 > > Seems wrong to me.
5 > >
6 > > Jocke
7 > Because the portage user never logs on .. hence has no password. That said,
8
9 That goes for evry other system account too but these are in shadow.
10
11 > it does seem an odd situation, since even users with no password do tend to
12 > appear in /etc/shadow .. perhaps it was/is never "properly" added as a user
13 > ....
14
15 I think/hope so. Now passwd looks like so:
16 portage:x:250:250:portage:/var/tmp/portage:/bin/false
17 This looks like a shadow account. Because of the missing entry passwd
18 thinks this is a normal account:
19 # > passwd -S portage
20 portage P
21 as opposed to:
22 # > passwd -S daemon
23 daemon L 10/28/1996 0 -1 -1 -1
24
25 Jocke

Replies

Subject Author
Re: [gentoo-portage-dev] portage user not listed in /etc/shadow ? "M. J. Everitt" <m.j.everitt@×××.org>