shadow: add shellPath passthru

This one is a bit special, it's used to deny users from logging in.
This commit is contained in:
zimbatm 2016-06-12 20:12:51 +01:00
parent 7e578dc334
commit e2413ad5a8
2 changed files with 6 additions and 0 deletions

View file

@ -53,5 +53,8 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://pkg-shadow.alioth.debian.org/;
description = "Suite containing authentication-related tools such as passwd and su";
passthru = {
shellPath = "/bin/nologin";
};
};
}

View file

@ -2233,6 +2233,9 @@ in
else
nodePackages_4_x;
# Can be used as a user shell
nologin = shadow;
npm2nix = nodePackages.npm2nix;
ldapvi = callPackage ../tools/misc/ldapvi { };