sudoask

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package sudoask owns invocation-local sudo askpass setup.

Index

Constants

View Source
const (
	Directory            = "sudo-guard"
	Askpass              = "mekugi-sudo-askpass"
	DirectoryEnvironment = "MEKUGI_SUDO_DIRECTORY"
	CommandEnvironment   = "MEKUGI_SUDO_COMMAND"
)

Variables

This section is empty.

Functions

func CommandApproval

func CommandApproval(args []string) bool

CommandApproval excludes listing and informational or timestamp-only modes, independently of sudo's authentication input policy.

func Interactive

func Interactive(args []string) bool

Interactive leaves explicitly selected input modes to sudo.

func Path

func Path(frontend string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL