diff options
author | Denis Vlasenko | 2007-06-12 22:04:57 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-06-12 22:04:57 +0000 |
commit | f312e32662f6d98f86c68d8f781b3255547f8200 (patch) | |
tree | 96587f0cba9fc32f66f4e031771e55e21ff13994 /loginutils/Config.in | |
parent | 637c975098acc6e8387df5a645471780f3c721f9 (diff) | |
download | busybox-f312e32662f6d98f86c68d8f781b3255547f8200.zip busybox-f312e32662f6d98f86c68d8f781b3255547f8200.tar.gz |
login: make /etc/nologin support configurable. -240 bytes if not selected.
Diffstat (limited to 'loginutils/Config.in')
-rw-r--r-- | loginutils/Config.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/loginutils/Config.in b/loginutils/Config.in index cab7a11..f9ae122 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. |