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 |