summaryrefslogtreecommitdiff
path: root/loginutils/Config.in
diff options
context:
space:
mode:
authorEric Andersen2004-07-30 17:24:47 +0000
committerEric Andersen2004-07-30 17:24:47 +0000
commitaad29b37a7345207c94e8ef9f0bac943d43dbe12 (patch)
tree5dc7bdc6d5ffd211abc3e76e8b43f2e53fba3e10 /loginutils/Config.in
parent15b588559bf75ebe15bc6ff29f3d591c4f35c0e8 (diff)
downloadbusybox-aad29b37a7345207c94e8ef9f0bac943d43dbe12.zip
busybox-aad29b37a7345207c94e8ef9f0bac943d43dbe12.tar.gz
Fixup getty, login, etc so the utmp and wtmp are updated, allowing
the 'who' and 'last' applets among other things to work as expected. -Erik
Diffstat (limited to 'loginutils/Config.in')
-rw-r--r--loginutils/Config.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/loginutils/Config.in b/loginutils/Config.in
index db038ab..d9938b0 100644
--- a/loginutils/Config.in
+++ b/loginutils/Config.in
@@ -57,6 +57,15 @@ config CONFIG_GETTY
help
getty lets you log in on a tty, it is normally invoked by init.
+config CONFIG_FEATURE_U_W_TMP
+ bool " Support utmp and wtmp files"
+ depends on CONFIG_GETTY || CONFIG_LOGIN || CONFIG_SU || CONFIG_WHO || CONFIG_LAST
+ default n
+ help
+ The files /var/run/utmp and /var/run/wtmp can be used to track when
+ user's have logged into and logged out of the system, allowing programs
+ such as 'who' and 'last' to list who is currently logged in.
+
config CONFIG_LOGIN
bool "login"
default n