-
CONFIG_ETH_NATIVE_POSIX_STARTUP_SCRIPT_USER
¶
Username to run the host startup script
Type: string
Help¶
By default the startup script is run as a root user. Set here the username to run the script if running it as a root user is not desired. Note that this setting is only for startup script and not for the setup script. The setup script needs to be run always as a root user.
Direct dependencies¶
ETH_NATIVE_POSIX_STARTUP_AUTOMATIC
&& ETH_NATIVE_POSIX
&& NET_L2_ETHERNET
(Includes any dependencies from ifs and menus.)
Default¶
“”
Kconfig definition¶
At <Zephyr>/drivers/ethernet/Kconfig.native_posix:56
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:32
→ <Zephyr>/drivers/Kconfig:20
→ <Zephyr>/drivers/ethernet/Kconfig:54
Menu path: (Top) → Device Drivers → Ethernet Drivers → Native Posix Ethernet driver → Start network interface automatically
config ETH_NATIVE_POSIX_STARTUP_SCRIPT_USER string "Username to run the host startup script" default "" depends onETH_NATIVE_POSIX_STARTUP_AUTOMATIC
&Ð_NATIVE_POSIX
&&NET_L2_ETHERNET
help By default the startup script is run as a root user. Set here the username to run the script if running it as a root user is not desired. Note that this setting is only for startup script and not for the setup script. The setup script needs to be run always as a root user.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)