From 63914bb2aca24e9e7dd9cde985b01f8793a74d9b Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 21 Apr 2004 19:53:08 +0000 Subject: [PATCH] Use busybox to provide login etc by default --- Makefile | 2 +- sources/busybox.config | 34 ++++++++++++++++++++-------------- sources/device_table.txt | 2 +- 3 files changed, 22 insertions(+), 16 deletions(-) diff --git a/Makefile b/Makefile index 04a2b7f6a5..2c80d3172a 100644 --- a/Makefile +++ b/Makefile @@ -144,7 +144,7 @@ TARGETS+=kernel-headers #TARGETS+=system-linux # The default minimal set -TARGETS+=busybox tinylogin +TARGETS+=busybox #tinylogin # Openssh... #TARGETS+=zlib openssl openssh diff --git a/sources/busybox.config b/sources/busybox.config index bc0afcd34f..84f4bf1d7b 100644 --- a/sources/busybox.config +++ b/sources/busybox.config @@ -247,16 +247,22 @@ CONFIG_REBOOT=y # Login/Password Management Utilities # # CONFIG_USE_BB_PWD_GRP is not set -# CONFIG_ADDGROUP is not set -# CONFIG_DELGROUP is not set -# CONFIG_ADDUSER is not set -# CONFIG_DELUSER is not set -# CONFIG_GETTY is not set -# CONFIG_LOGIN is not set -# CONFIG_PASSWD is not set -# CONFIG_SU is not set -# CONFIG_SULOGIN is not set -# CONFIG_VLOCK is not set +CONFIG_ADDGROUP=y +CONFIG_DELGROUP=y +CONFIG_ADDUSER=y +CONFIG_DELUSER=y +CONFIG_GETTY=y +CONFIG_LOGIN=y +CONFIG_FEATURE_SECURETTY=y +CONFIG_PASSWD=y +CONFIG_SU=y +CONFIG_SULOGIN=y +CONFIG_VLOCK=y + +# +# Common options for adduser, deluser, login, su +# +CONFIG_FEATURE_SHADOWPASSWDS=y # # Miscellaneous Utilities @@ -330,7 +336,7 @@ CONFIG_FEATURE_FANCY_PING=y CONFIG_ROUTE=y CONFIG_TELNET=y CONFIG_FEATURE_TELNET_TTYPE=y -CONFIG_FEATURE_TELNET_AUTOLOGIN=n +# CONFIG_FEATURE_TELNET_AUTOLOGIN is not set # CONFIG_TELNETD is not set # CONFIG_TFTP is not set # CONFIG_TRACEROUTE is not set @@ -390,14 +396,14 @@ CONFIG_ASH_OPTIMIZE_FOR_SIZE=y # # Bourne Shell Options # +# CONFIG_FEATURE_SH_EXTRA_QUIET is not set +# CONFIG_FEATURE_SH_STANDALONE_SHELL is not set CONFIG_FEATURE_COMMAND_EDITING=y +CONFIG_FEATURE_COMMAND_HISTORY=15 CONFIG_FEATURE_COMMAND_SAVEHISTORY=y CONFIG_FEATURE_COMMAND_TAB_COMPLETION=y # CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION is not set -CONFIG_FEATURE_COMMAND_HISTORY=15 -# CONFIG_FEATURE_SH_STANDALONE_SHELL is not set CONFIG_FEATURE_SH_FANCY_PROMPT=y -# CONFIG_FEATURE_SH_EXTRA_QUIET is not set # # System Logging Utilities diff --git a/sources/device_table.txt b/sources/device_table.txt index da21c4906d..75d8068354 100644 --- a/sources/device_table.txt +++ b/sources/device_table.txt @@ -45,7 +45,7 @@ # Adjust permissions on some normal files /etc/shadow f 600 0 0 - - - - - /etc/passwd f 644 0 0 - - - - - -/bin/tinylogin f 4755 0 0 - - - - - +/bin/busybox f 4755 0 0 - - - - - # uncomment this to allow starting x as non-root #/usr/X11R6/bin/Xfbdev f 4755 0 0 - - - - - -- 2.30.2