xiaoxiang781216 commented on code in PR #18396:
URL: https://github.com/apache/nuttx/pull/18396#discussion_r2844117981


##########
sched/Kconfig:
##########
@@ -623,6 +623,46 @@ config ETC_FATMOUNTPT
                will mount a FAT FS under /tmp. This is the location where the 
FAT
                FS will be mounted.  Default is "/tmp".
 
+config ETC_ROMFS_GENPASSWD
+       bool "Auto-generate /etc/passwd at build time"
+       default n
+       ---help---
+               Generate the /etc/passwd file at build time from a user-supplied
+               password.  This avoids shipping a hard-coded default password
+               (CWE-798).  When enabled, the build will fail if no password
+               is configured, forcing each build to set its own credentials.
+
+if ETC_ROMFS_GENPASSWD

Review Comment:
   should you move the opion to boards/Kconfig and add BOARD_ prefix



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to