在buildroot config中设置密码不生效 | Setting a password in buildroot config does not take effect

  • 您好,密码修改请参考https://forums.luckfox.com/viewtopic.php?p=1742&hilit=passwd#p1742,rv1106使用的uclibc 交叉编译工具的crypto功能有问题,不能直接使用buildroot 设置来修改密码
  • Crocodile wrote: 2025-09-05 3:02 您好,密码修改请参考https://forums.luckfox.com/viewtopic.php?p=1742&hilit=passwd#p1742,rv1106使用的uclibc 交叉编译工具的crypto功能有问题,不能直接使用buildroot 设置来修改密码
    感谢您的回复,不过我并没有找到您链接中提到的:
    Thanks for your reply! However, I couldn’t locate the file you mentioned:

    Code: Select all

    <Luckfox-Pico SDK>/sysdrv/tools/board/buildroot/shadow_defconfig
    后来我尝试编辑以下文件来代替没有上述文件,然后按您提供的链接中的教程步骤进行,密码更改成功了。
    After that I simply followed the rest of the steps in the tutorial you linked, and the password change went through without any issues.

    Code: Select all

    vim <Luckfox-Pico SDK>/project/cfg/BoardConfig_IPC/overlay/overlay-luckfox-buildroot-shadow/etc/shadow
    Hope this helps anyone else running into the same snag.
  • 很抱歉 viewtopic.php?p=1742&hilit=passwd#p1742 中提到的路径是旧版本SDK的,最新的SDK将打包前需要添加的文件都移到了<Luckfox-Pico SDK>/project/cfg/BoardConfig_IPC/overlay 下面