[Nix-dev] Re: /etc/{passwd, group} don't match the build user effective UID/GID

Eelco Dolstra e.dolstra at tudelft.nl
Thu Dec 10 14:49:58 CET 2009


Hi,

Ludovic Courtès wrote:

> $ sudo usermod nixbld1 --gid nixbld --groups "nixbld"
> usermod: `nixbld' is primary group name.

The following does work:

$ usermod nixbld1 --gid nixbld
$ groupmod nixbld -A nixbld1

although it's less efficient in the activation script.

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/



More information about the nix-dev mailing list