Skip to content

Document root access and passwordless sudo setup #13

Description

@junaga

Problem

The repository lives in /usr/local/src and is root-owned. The interactive user hypr could read it but could not edit issues.md, while the root account held the GitHub CLI authentication required to publish issues.

Actions taken

  • Added hypr to the sudo group: sudo usermod -aG sudo hypr.
  • Added an explicit passwordless sudo rule in /etc/sudoers.d/hypr: hypr ALL=(ALL:ALL) NOPASSWD: ALL.
  • Set the sudoers fragment to mode 0440 and validated it with visudo -cf /etc/sudoers.d/hypr.
  • Verified non-interactive root access with sudo -n true.
  • Used root GitHub CLI authentication to create the five issues from issues.md, then deleted that source file.

Follow-up

Decide whether unrestricted passwordless sudo is the intended long-term model, and document the ownership/authentication model for /usr/local/src and GitHub operations.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BaseBase platform and system infrastructure

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions