about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/shadow/default.nix
diff options
context:
space:
mode:
authorzimbatm <zimbatm@zimbatm.com>2016-06-12 20:12:51 +0100
committerzimbatm <zimbatm@zimbatm.com>2016-06-12 20:13:32 +0100
commite2413ad5a8b6a80e5552306518fdf16e68b6c6d7 (patch)
treea4580d1b22d6aa82a1460861960feeec1ae77aea /pkgs/os-specific/linux/shadow/default.nix
parent7e578dc334dbb6af87f2b194bd0ed91d75956973 (diff)
shadow: add shellPath passthru
This one is a bit special, it's used to deny users from logging in.
Diffstat (limited to 'pkgs/os-specific/linux/shadow/default.nix')
-rw-r--r--pkgs/os-specific/linux/shadow/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/shadow/default.nix b/pkgs/os-specific/linux/shadow/default.nix
index 321e94e3aaf42..7f0d40f6be1fa 100644
--- a/pkgs/os-specific/linux/shadow/default.nix
+++ b/pkgs/os-specific/linux/shadow/default.nix
@@ -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";
+    };
   };
 }