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 = { meta = {
homepage = http://pkg-shadow.alioth.debian.org/; homepage = http://pkg-shadow.alioth.debian.org/;
description = "Suite containing authentication-related tools such as passwd and su"; description = "Suite containing authentication-related tools such as passwd and su";
passthru = {
shellPath = "/bin/nologin";
};
}; };
} }

View File

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