mirror of https://github.com/hak5/openwrt.git
config: enable shadow passwords unconditionally
Configurations without shadow passwords have been broken since the removal of telnet: as the default entry in /etc/passwd is not empty (but rather unset), there will be no way to log onto such a system by default. As disabling shadow passwords is not useful anyways, remove this configuration option. The config symbol is kept (for a while), as packages from feeds depend on it. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>lede-17.01
parent
da4e81960d
commit
77f54eae45
|
@ -47,10 +47,7 @@ menu "Global build settings"
|
||||||
|
|
||||||
config SHADOW_PASSWORDS
|
config SHADOW_PASSWORDS
|
||||||
bool
|
bool
|
||||||
prompt "Enable shadow password support"
|
|
||||||
default y
|
default y
|
||||||
help
|
|
||||||
Enable shadow password support.
|
|
||||||
|
|
||||||
config CLEAN_IPKG
|
config CLEAN_IPKG
|
||||||
bool
|
bool
|
||||||
|
|
|
@ -66,7 +66,6 @@ CONFIGURE_ARGS += \
|
||||||
--disable-pam \
|
--disable-pam \
|
||||||
--enable-openpty \
|
--enable-openpty \
|
||||||
--enable-syslog \
|
--enable-syslog \
|
||||||
$(if $(CONFIG_SHADOW_PASSWORDS),,--disable-shadow) \
|
|
||||||
--disable-lastlog \
|
--disable-lastlog \
|
||||||
--disable-utmpx \
|
--disable-utmpx \
|
||||||
$(if $(CONFIG_DROPBEAR_UTMP),,--disable-utmp) \
|
$(if $(CONFIG_DROPBEAR_UTMP),,--disable-utmp) \
|
||||||
|
|
|
@ -77,7 +77,6 @@ define Host/Configure
|
||||||
$(SED) 's,^KERNEL_HEADERS=.*,KERNEL_HEADERS=\"$(BUILD_DIR_TOOLCHAIN)/linux-dev/include\",g' \
|
$(SED) 's,^KERNEL_HEADERS=.*,KERNEL_HEADERS=\"$(BUILD_DIR_TOOLCHAIN)/linux-dev/include\",g' \
|
||||||
-e 's,^.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=$(if $(CONFIG_SOFT_FLOAT),n,y),g' \
|
-e 's,^.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=$(if $(CONFIG_SOFT_FLOAT),n,y),g' \
|
||||||
-e 's,^.*UCLIBC_HAS_SOFT_FLOAT.*,UCLIBC_HAS_SOFT_FLOAT=$(if $(CONFIG_SOFT_FLOAT),y,n),g' \
|
-e 's,^.*UCLIBC_HAS_SOFT_FLOAT.*,UCLIBC_HAS_SOFT_FLOAT=$(if $(CONFIG_SOFT_FLOAT),y,n),g' \
|
||||||
-e 's,^.*UCLIBC_HAS_SHADOW.*,UCLIBC_HAS_SHADOW=$(if $(CONFIG_SHADOW_PASSWORDS),y,n),g' \
|
|
||||||
-e 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=$(if $(CONFIG_BUILD_NLS),y,n),g' \
|
-e 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=$(if $(CONFIG_BUILD_NLS),y,n),g' \
|
||||||
-e 's,^.*UCLIBC_BUILD_ALL_LOCALE.*,UCLIBC_BUILD_ALL_LOCALE=$(if $(CONFIG_BUILD_NLS),y,n),g' \
|
-e 's,^.*UCLIBC_BUILD_ALL_LOCALE.*,UCLIBC_BUILD_ALL_LOCALE=$(if $(CONFIG_BUILD_NLS),y,n),g' \
|
||||||
-e 's,^.*UCLIBC_HAS_SSP[^_].*,UCLIBC_HAS_SSP=$(if $(or $(CONFIG_PKG_CC_STACKPROTECTOR_REGULAR),$(CONFIG_PKG_CC_STACKPROTECTOR_STRONG)),y,n),g' \
|
-e 's,^.*UCLIBC_HAS_SSP[^_].*,UCLIBC_HAS_SSP=$(if $(or $(CONFIG_PKG_CC_STACKPROTECTOR_REGULAR),$(CONFIG_PKG_CC_STACKPROTECTOR_STRONG)),y,n),g' \
|
||||||
|
|
Loading…
Reference in New Issue