Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    buildroot 怎么取消用户登录?

    Linux
    3
    4
    1873
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      memory LV 7 last edited by

      buildroot 怎么取消用户登录?

      whycan 1 Reply Last reply Reply Quote Share 0
      • whycan
        whycan晕哥 LV 9 last edited by

        参考链接:如何设置root开机免密自动登陆

        1 Reply Last reply Reply Quote Share 0
        • whycan
          whycan晕哥 LV 9 @memory last edited by

          可以直接改这个文件:package/busybox/inittab

          1 Reply Last reply Reply Quote Share 0
          • YuzukiTsuru
            柚木 鉉 LV 9 last edited by

            buildroot文件系统架构特性。

            1、如何修改提示语和账号密码,找到buildroot配置属性BR2_TARGET_GENERIC_HOSTNAME、BR2_TARGET_GENERIC_ISSUE、BR2_TARGET_GENERIC_ROOT_PASSWD修改,如下:

            BR2_TARGET_GENERIC_ROOT_PASSWD=“”

            2、如何取消账号登入,在/etc/inittab中添加::respawn:-/bin/sh,去掉ttyAS0::respawn:/sbin/getty -L ttyAS0 115200 vt100 # GENERIC_SERIAL,反之亦然

            3、如果要修改源码,查看文件系统inittab生成,添加修改就可以。

            1 Reply Last reply Reply Quote Share 0
            • 1 / 1
            • First post
              Last post

            Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

            行为准则 | 用户协议 | 隐私权政策