Raspberry Pi OS 6.2 Enforces Passwords for sudo, Ending Passwordless Admin Access

Raspberry Pi OS 6.2 Enforces Passwords for sudo, Ending Passwordless Admin Access
source: gettyimages
April 14, 2026

The latest Raspberry Pi OS release, version 6.2, which arrived on Tuesday, introduces a key security change: sudo commands no longer run passwordlessly. Previously, administrators could perform elevated actions without typing a password, a convenience feature that carried notable security risks.

With the update, any attempt to run a command with sudo now triggers a password prompt, requiring the current user’s credentials. In practice, you’ll see the prompt appear in the terminal as soon as you execute a sudo command.

Impact and considerations:

What users should do:

This move aligns Raspberry Pi OS with common security practices, emphasizing credential-based privilege elevation over convenience.

Related links

By submitting, I confirm I have the right to share this link and I agree to link back to this article from the submitted page. Duplicate URLs are rejected. Up to 5 links per page.

GraphQL · 147 ms
query Q($id: Int!, $domain: Int!, $srcId: Int!, $hasSrc: Boolean!, $hasSelf: Boolean!) {
  self: qa_ai(where: {id: {_eq: $id}}, limit: 1) @include(if: $hasSelf) { id title text date }
  linksarticle: qa_ai(where: {domain: {_eq: $domain}, id: {_neq: $id}}, order_by: {id: desc}, limit: 8) { id title }
  linksbottom: qa_ai(where: {domain: {_neq: $domain}, id: {_lt: $id}}, order_by: {id: desc}, limit: 3) { id title domain }
  source: qa_ai(where: {id: {_eq: $srcId}}, limit: 1) @include(if: $hasSrc) { id title }
}
{
  "id": 6647382,
  "domain": 7,
  "srcId": 0,
  "hasSrc": false,
  "hasSelf": true
}