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


##########
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:
   yes exactly @Abhishekmishra2808 please move to board, its not shed 
funcionality, also add _ENABLE suffix to match other configs, so it is 
`BOARD_ETC_ROMFS_PASSWD_ENABLE`, thanks :-)



-- 
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