aboutsummaryrefslogtreecommitdiff
path: root/loginutils/Config.in
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-06-12 22:04:57 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-06-12 22:04:57 +0000
commitf312e32662f6d98f86c68d8f781b3255547f8200 (patch)
tree96587f0cba9fc32f66f4e031771e55e21ff13994 /loginutils/Config.in
parent637c975098acc6e8387df5a645471780f3c721f9 (diff)
downloadbusybox-f312e32662f6d98f86c68d8f781b3255547f8200.tar.gz
busybox-f312e32662f6d98f86c68d8f781b3255547f8200.tar.bz2
login: make /etc/nologin support configurable. -240 bytes if not selected.
Diffstat (limited to 'loginutils/Config.in')
-rw-r--r--loginutils/Config.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/loginutils/Config.in b/loginutils/Config.in
index cab7a11a0..f9ae122e4 100644
--- a/loginutils/Config.in
+++ b/loginutils/Config.in
@@ -136,12 +136,20 @@ config LOGIN_SCRIPTS
Enable this if you want login to execute $LOGIN_PRE_SUID_SCRIPT
just prior to switching from root to logged-in user.
+config FEATURE_NOLOGIN
+ bool "Support for /etc/nologin"
+ default y
+ depends on LOGIN
+ help
+ The file /etc/nologin is used by (some versions of) login(1).
+ If it exists, non-root logins are prohibited.
+
config FEATURE_SECURETTY
bool "Support for /etc/securetty"
default y
depends on LOGIN
help
- The file /etc/securetty is used by (some versions of) login(1).
+ The file /etc/securetty is used by (some versions of) login(1).
The file contains the device names of tty lines (one per line,
without leading /dev/) on which root is allowed to login.