summaryrefslogtreecommitdiffstats
path: root/include/pathnames.h
diff options
context:
space:
mode:
authorKarel Zak2013-09-30 13:36:26 +0200
committerKarel Zak2013-09-30 13:36:26 +0200
commit88407b93212275759e8a54f5d43f4cf7da67fcdf (patch)
tree52a6098a9605f6d0cb69d8e7dc1932260af9bacd /include/pathnames.h
parentbuild-sys: release++ (v2.24-rc1) (diff)
downloadkernel-qcow2-util-linux-88407b93212275759e8a54f5d43f4cf7da67fcdf.tar.gz
kernel-qcow2-util-linux-88407b93212275759e8a54f5d43f4cf7da67fcdf.tar.xz
kernel-qcow2-util-linux-88407b93212275759e8a54f5d43f4cf7da67fcdf.zip
nologin: add new command
Currently it's maintained as distro specific (or people use impolite /bin/false way). Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/pathnames.h')
-rw-r--r--include/pathnames.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pathnames.h b/include/pathnames.h
index e25234c45..dce98d2a4 100644
--- a/include/pathnames.h
+++ b/include/pathnames.h
@@ -31,6 +31,8 @@
#define _PATH_HUSHLOGIN ".hushlogin"
#define _PATH_HUSHLOGINS "/etc/hushlogins"
+#define _PATH_NOLOGIN_TXT "/etc/nologin.txt"
+
#ifndef _PATH_MAILDIR
#define _PATH_MAILDIR "/var/spool/mail"
#endif