shadow: add shellPath passthru
This one is a bit special, it's used to deny users from logging in.
This commit is contained in:
parent
7e578dc334
commit
e2413ad5a8
|
@ -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";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 { };
|
||||||
|
|
Loading…
Reference in New Issue