[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Integration of the Nix daemon
From: |
Ludovic Courtès |
Subject: |
Re: Integration of the Nix daemon |
Date: |
Mon, 17 Dec 2012 22:16:14 +0100 |
User-agent: |
Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) |
Hi Andreas,
Andreas Enge <address@hidden> skribis:
> and /etc/passwd:
> nixbld1:x:30001:65534:Nix build user 1:/var/empty:/noshell
> ...
> nixbld10:x:30001:65534:Nix build user 10:/var/empty:/noshell
It just occurred to me: here nixbld1 and nixbld10 have the same UID,
which is wrong. Can you check whether the others have a different UID?
Here I have:
--8<---------------cut here---------------start------------->8---
nixbld1:x:30001:30000:Nix build user
1:/var/empty:/run/current-system/sw/sbin/nologin
nixbld2:x:30002:30000:Nix build user
2:/var/empty:/run/current-system/sw/sbin/nologin
nixbld3:x:30003:30000:Nix build user
3:/var/empty:/run/current-system/sw/sbin/nologin
nixbld4:x:30004:30000:Nix build user
4:/var/empty:/run/current-system/sw/sbin/nologin
nixbld5:x:30005:30000:Nix build user
5:/var/empty:/run/current-system/sw/sbin/nologin
nixbld6:x:30006:30000:Nix build user
6:/var/empty:/run/current-system/sw/sbin/nologin
nixbld7:x:30007:30000:Nix build user
7:/var/empty:/run/current-system/sw/sbin/nologin
nixbld8:x:30008:30000:Nix build user
8:/var/empty:/run/current-system/sw/sbin/nologin
nixbld9:x:30009:30000:Nix build user
9:/var/empty:/run/current-system/sw/sbin/nologin
nixbld10:x:30010:30000:Nix build user
10:/var/empty:/run/current-system/sw/sbin/nologin
--8<---------------cut here---------------end--------------->8---
You should fix it with something like:
for b in `seq 1 10`; do usermod -u `expr 30000 + $b` nixbld$b ; done
Crossing fingers...
Ludo’.
- Re: Integration of the Nix daemon, (continued)
- Re: Integration of the Nix daemon, Ludovic Courtès, 2012/12/15
- Re: Integration of the Nix daemon, Andreas Enge, 2012/12/15
- Re: Integration of the Nix daemon, Ludovic Courtès, 2012/12/15
- Re: Integration of the Nix daemon, Andreas Enge, 2012/12/16
- Re: Integration of the Nix daemon, Ludovic Courtès, 2012/12/16
- Re: Integration of the Nix daemon, Andreas Enge, 2012/12/16
- Re: Integration of the Nix daemon, Ludovic Courtès, 2012/12/16
- Re: Integration of the Nix daemon, Andreas Enge, 2012/12/16
- Re: Integration of the Nix daemon,
Ludovic Courtès <=
- Re: Integration of the Nix daemon, Andreas Enge, 2012/12/17
- Re: Integration of the Nix daemon, Ludovic Courtès, 2012/12/17
- Re: Integration of the Nix daemon, Ludovic Courtès, 2012/12/14