Skip to content

docs(website): cover root-password sudo/curl gap in x86 install guide - #3106

Merged
vpetersson merged 1 commit into
masterfrom
docs/x86-install-sudo-curl-gap
Jul 2, 2026
Merged

docs(website): cover root-password sudo/curl gap in x86 install guide#3106
vpetersson merged 1 commit into
masterfrom
docs/x86-install-sudo-curl-gap

Conversation

@vpetersson

Copy link
Copy Markdown
Contributor

Issues Fixed

No associated issue. Found while bootstrapping a fresh Debian 13 x86 device: the machine had been installed with a root password, so sudo was not installed, the user was not in the sudo group, and curl was absent. Every sudo command in Step 4 of the PC install guide fails with sudo: command not found, and the docs offered no recovery path.

Description

  • Strengthen the Step 3 root-password note to spell out that setting a root password means Debian installs neither sudo nor adds the user to the sudo group.
  • Add a Step 4 callout with the su -apt install sudousermod -aG sudo recovery for users who set a root password anyway.

Docs-only change to website/content/docs/x86-installation.md.

Checklist

  • I have performed a self-review of my own code.
  • New and existing unit tests pass locally and on CI with my changes. (N/A — docs only)
  • I have done an end-to-end test for Raspberry Pi devices. (N/A — PC/x86 doc)
  • I have tested my changes for x86 devices. (verified on a fresh Debian 13 x86 install)
  • I added a documentation for the changes I have made (when necessary).

🤖 Generated with Claude Code

A fresh Debian x86 install done WITH a root password ships no sudo, does
not add the user to the sudo group, and has no curl — so every sudo
command in Step 4 of the PC install guide fails with
"sudo: command not found", with no documented recovery path.

Strengthen the Step 3 root-password note to spell out this consequence,
and add a Step 4 callout with the su/apt/usermod recovery for users who
set a root password anyway.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@vpetersson
vpetersson requested a review from a team as a code owner July 2, 2026 08:01
@vpetersson vpetersson self-assigned this Jul 2, 2026
@vpetersson
vpetersson requested a review from Copilot July 2, 2026 08:02
@sonarqubecloud

sonarqubecloud Bot commented Jul 2, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the PC/x86 installation guide to document the Debian installer behavior when a root password is set (resulting in sudo not being installed and the user not being added to the sudo group), and provides a recovery path so readers can proceed with the rest of the setup steps successfully.

Changes:

  • Expands the Step 3 “Root password” guidance to explain the sudo/sudo-group implications of setting a root password.
  • Adds a Step 4 callout with su - → install sudo → add user to sudo group instructions so subsequent sudo commands in the guide work.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@vpetersson
vpetersson merged commit 8d4587e into master Jul 2, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants