{"id":293,"date":"2026-03-02T22:09:07","date_gmt":"2026-03-02T14:09:07","guid":{"rendered":"https:\/\/anbolt.net\/?p=293"},"modified":"2026-03-02T22:09:08","modified_gmt":"2026-03-02T14:09:08","slug":"armbian-bookworm-%e5%a6%82%e4%bd%95%e5%bc%80%e6%9c%ba%e4%b8%8d%e7%94%a8%e8%be%93%e5%85%a5-root","status":"publish","type":"post","link":"https:\/\/anbolt.net\/index.php\/2026\/03\/02\/armbian-bookworm-%e5%a6%82%e4%bd%95%e5%bc%80%e6%9c%ba%e4%b8%8d%e7%94%a8%e8%be%93%e5%85%a5-root\/","title":{"rendered":"Armbian Bookworm \u5982\u4f55\u5f00\u673a\u4e0d\u7528\u8f93\u5165 root"},"content":{"rendered":"\n<p>Armbian Auto Login Setup<\/p>\n\n\n\n<p>Armbian-unofficial 24.5.0-trunk Bookworm \u5982\u4f55\u5f00\u673a\u4e0d\u7528\u8f93\u5165 root \u2026<\/p>\n\n\n\n<p>ARM\u5b66\u4e60\u4e4b\u5b9e\u73b0\u5f00\u673a\u81ea\u52a8\u767b\u5f55\u4ee5\u53ca\u4fee\u6539\u5f00\u673a\u542f\u52a8\u9879 &#8211;<\/p>\n\n\n\n<p>In Armbian, you can configure the system to log in automatically at boot without requiring a username or password. This is typically done using systemd for modern versions like Bookworm.<\/p>\n\n\n\n<p>Using systemd getty Service<\/p>\n\n\n\n<p><strong><em>Step 1: Create a drop-in configuration directory<\/em><\/strong><\/p>\n\n\n\n<p>sudo mkdir -p \/etc\/systemd\/system\/getty@tty1.service.d<\/p>\n\n\n\n<p><em><strong>Step 2: Create the autologin configuration file<\/strong><\/em><\/p>\n\n\n\n<p>sudo nano \/etc\/systemd\/system\/getty@tty1.service.d\/autologin.conf<\/p>\n\n\n\n<p><strong><em>Step 3: Add the following content Replace root with your desired username if needed:<\/em><\/strong><\/p>\n\n\n\n<p>[Service]<br>ExecStart=<br>ExecStart=-\/sbin\/agetty &#8211;autologin root &#8211;noclear %I $TERM<\/p>\n\n\n\n<p><strong><em>Step 4: Reload and restart the service<\/em><\/strong><\/p>\n\n\n\n<p>sudo systemctl daemon-reload<br>sudo systemctl restart getty@tty1<\/p>\n\n\n\n<p>This will make tty1 automatically log in as the specified user after boot.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Armbian Auto Login Setup Armbian-unofficial 24.5.0-trun &#8230; <a title=\"Armbian Bookworm \u5982\u4f55\u5f00\u673a\u4e0d\u7528\u8f93\u5165 root\" class=\"read-more\" href=\"https:\/\/anbolt.net\/index.php\/2026\/03\/02\/armbian-bookworm-%e5%a6%82%e4%bd%95%e5%bc%80%e6%9c%ba%e4%b8%8d%e7%94%a8%e8%be%93%e5%85%a5-root\/\" aria-label=\"\u9605\u8bfb Armbian Bookworm \u5982\u4f55\u5f00\u673a\u4e0d\u7528\u8f93\u5165 root\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-293","post","type-post","status-publish","format-standard","hentry","category-7"],"_links":{"self":[{"href":"https:\/\/anbolt.net\/index.php\/wp-json\/wp\/v2\/posts\/293","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/anbolt.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/anbolt.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/anbolt.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/anbolt.net\/index.php\/wp-json\/wp\/v2\/comments?post=293"}],"version-history":[{"count":1,"href":"https:\/\/anbolt.net\/index.php\/wp-json\/wp\/v2\/posts\/293\/revisions"}],"predecessor-version":[{"id":294,"href":"https:\/\/anbolt.net\/index.php\/wp-json\/wp\/v2\/posts\/293\/revisions\/294"}],"wp:attachment":[{"href":"https:\/\/anbolt.net\/index.php\/wp-json\/wp\/v2\/media?parent=293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/anbolt.net\/index.php\/wp-json\/wp\/v2\/categories?post=293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/anbolt.net\/index.php\/wp-json\/wp\/v2\/tags?post=293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}