askpass

Community

Non-interactive sudo for scripts.

Authortanaka-mambinge
Version1.0.0
Installs0

System Documentation

What problem does it solve?

SUDO_ASKPASS enables non-interactive sudo operations by providing a helper that supplies credentials when a password prompt would normally appear.

Core Features & Use Cases

  • Non-interactive elevation: Run sudo commands in scripts without manual prompts.
  • CI/CD and headless environments: Suitable for automated pipelines where TTY access is unavailable.
  • Flexible credential sources: Reads credentials from an environment variable or a file for automation.

Quick Start

Set the SUDO_ASKPASS environment variable to the path of the askpass.sh script and run sudo commands with -A.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: askpass
Download link: https://github.com/tanaka-mambinge/dotfiles/archive/main.zip#askpass

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.