mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
dropbear: adjust allowed shell list
this takes an effect only if getusershell(3) is missing Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
This commit is contained in:
parent
7f6fcaa3bf
commit
88c8053d47
@ -104,6 +104,8 @@ CONFIGURE_ARGS += \
|
|||||||
#
|
#
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
|
# adjust allowed shell list (if getusershell(3) is missing):
|
||||||
|
# - COMPAT_USER_SHELLS
|
||||||
# remove protocol idented software version number:
|
# remove protocol idented software version number:
|
||||||
# - LOCAL_IDENT
|
# - LOCAL_IDENT
|
||||||
# disable legacy/unsafe methods and unused functionality:
|
# disable legacy/unsafe methods and unused functionality:
|
||||||
@ -114,6 +116,7 @@ CONFIGURE_ARGS += \
|
|||||||
# - DROPBEAR_SHA1_HMAC
|
# - DROPBEAR_SHA1_HMAC
|
||||||
DB_OPT_COMMON = \
|
DB_OPT_COMMON = \
|
||||||
!!LOCAL_IDENT,"SSH-2.0-dropbear" \
|
!!LOCAL_IDENT,"SSH-2.0-dropbear" \
|
||||||
|
COMPAT_USER_SHELLS,"/bin/ash","/bin/sh" \
|
||||||
DEFAULT_PATH,"$(TARGET_INIT_PATH)" \
|
DEFAULT_PATH,"$(TARGET_INIT_PATH)" \
|
||||||
DEFAULT_ROOT_PATH,"$(TARGET_INIT_PATH)" \
|
DEFAULT_ROOT_PATH,"$(TARGET_INIT_PATH)" \
|
||||||
DROPBEAR_DSS,0 \
|
DROPBEAR_DSS,0 \
|
||||||
|
Loading…
Reference in New Issue
Block a user