mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
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
2 changed files with 6 additions and 0 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue