X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/dc8a3b1bb16d57802d14ab2c1f85568f8ed0b618..77ec3b2de9bb1880b258ec6aaf4949f146f6fd8d:/package/busybox/config/init/Config.in diff --git a/package/busybox/config/init/Config.in b/package/busybox/config/init/Config.in index 92aceed77..61c20140b 100644 --- a/package/busybox/config/init/Config.in +++ b/package/busybox/config/init/Config.in @@ -1,3 +1,4 @@ +# DO NOT EDIT. This file is generated from Config.src # # For a description of the syntax of this configuration file, # see scripts/kbuild/config-language.txt. @@ -163,9 +164,21 @@ config BUSYBOX_CONFIG_INIT_TERMINAL_TYPE sets TERM to "vt102" if one is found. config BUSYBOX_CONFIG_MESG bool "mesg" - default y + default n help Mesg controls access to your terminal by others. It is typically used to allow or disallow other users to write to your terminal +config BUSYBOX_CONFIG_FEATURE_MESG_ENABLE_ONLY_GROUP + bool "Enable writing to tty only by group, not by everybody" + default n + depends on BUSYBOX_CONFIG_MESG + help + Usually, ttys are owned by group "tty", and "write" tool is + setgid to this group. This way, "mesg y" only needs to enable + "write by owning group" bit in tty mode. + + If you set this option to N, "mesg y" will enable writing + by anybody at all. This is not recommended. + endmenu