{"id":1168,"date":"2023-01-23T12:00:00","date_gmt":"2023-01-23T20:00:00","guid":{"rendered":"https:\/\/letsbuildroboticswithshadow8472.com\/?p=1168"},"modified":"2023-01-23T11:41:55","modified_gmt":"2023-01-23T19:41:55","slug":"i-glitched-cockpit-and-discovered-multi-user-login","status":"publish","type":"post","link":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2023\/01\/23\/i-glitched-cockpit-and-discovered-multi-user-login\/","title":{"rendered":"I Glitched Cockpit and Discovered Multi-user Login"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Good Morning from my Robotics Lab! This is Shadow_8472 with a side project for the week. Let\u2019s get started!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">My mother needed an extra browser, so I installed Firefox hardened it a little. I took the liberty of adding the Bitwarden plugin, encouraging her to make an account on my self-hosted instance. Remembering my failure so far to diagnose the \u201cNetwork Error\u201d blocking log in, I spared the time to learn how new Bitwarden clients are slightly incompatible with old Vaultwarden servers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I easily could have updated Vaultwarden with maybe a note on the blog Discord. Instead, I felt like adding VaultwardenUsr@localhost to Cockpit with \u201cAdd new host.\u201d This stunt worked at the cost of forwarding shadow8472@ButtonMash to VaultwardenUsr@ButtonMash when to logging in. Relogging didn\u2019t help, and the hosts list saw VaultwardenUsr as the primary login \u2013 disallowing me from removing it, and as a remote login \u2013 blocking my attempts to add my real primary account back in with the same stunt.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">While exploring this bug, I logged into my old laptop server and linked its Cockpit back into ButtonMash without getting forwarded to VaultwardenUsr. At this point, I submitted a bug report to Cockpit\u2019s GitHub. I soon found the malformed host list at \/etc\/cockpit\/machines.d\/99-webui.json. I backed it up, purged the malformed entry, and updated GitHub with my workaround.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Out of curiosity, I added VaultwardenUsr@192.168.0.&#8212; as an alternate host. This sends packets for an extra detour, but it works as required. Only after all this did I update my Vaultwarden image from Docker Hub and deploy a new container from it using the same command as the last two successful times.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note: While working on next week\u2019s project, I logged into VaultwardenUsr@127.0.0.1 and other loopback IP\u2019s with no problems. It\u2019s just name@localhost that causes problems.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Takeaway<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">1 day for the win! My push for PiHole and supporting network projects has been intense lately, so it\u2019s great to have a smaller project where I still learn while by doing something important.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Final Question<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Have you ever misused a software feature successfully? What challenges did you face before getting it to work how you had in mind?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">look forward hearing your answers on in the comments below or on my <a rel=\"noreferrer noopener\" href=\"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/discord-invite\/\" target=\"_blank\">Socials<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Good Morning from my Robotics Lab! This is Shadow_8472 with a side project for the week. Let\u2019s get started! My mother needed an extra browser, so I installed Firefox hardened it a little. I took the liberty of adding the Bitwarden plugin, encouraging her to make an account on my self-hosted instance. Remembering my failure &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2023\/01\/23\/i-glitched-cockpit-and-discovered-multi-user-login\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;I Glitched Cockpit and Discovered Multi-user Login&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[3,2,14,90,195],"tags":[198,196,197],"class_list":["post-1168","post","type-post","status-publish","format-standard","hentry","category-computer-maintenance-and-repair","category-linux","category-networking","category-red-hat-server","category-server","tag-cockpit-hosts","tag-cockpit-podman","tag-podman-cockpit"],"_links":{"self":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/1168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/comments?post=1168"}],"version-history":[{"count":1,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/1168\/revisions"}],"predecessor-version":[{"id":1169,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/1168\/revisions\/1169"}],"wp:attachment":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/media?parent=1168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/categories?post=1168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/tags?post=1168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}