Skip to content

fix(casks): show which app needs admin privileges and cache sudo for session#25

Merged
jhult merged 1 commit into
neul-labs:mainfrom
jhult:fix/sudo
Jun 16, 2026
Merged

fix(casks): show which app needs admin privileges and cache sudo for session#25
jhult merged 1 commit into
neul-labs:mainfrom
jhult:fix/sudo

Conversation

@jhult

@jhult jhult commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

When installing a PKG cask, stout now prints a clear message identifying the specific app requesting admin access before the sudo prompt. It also calls sudo -v first so credentials are cached via sudo's built-in timestamp mechanism (~5 min default), meaning multiple PKG installs in the same session only prompt once. stout never touches the password — it relies entirely on sudo's secure credential caching.

…session

When installing a PKG cask, stout now prints a clear message identifying the specific app requesting admin access before the sudo prompt. It also calls sudo -v first so credentials are cached via sudo's built-in timestamp mechanism (~5 min default), meaning multiple PKG installs in the same session only prompt once. stout never touches the password — it relies entirely on sudo's secure credential caching.
@jhult
jhult merged commit e897a28 into neul-labs:main Jun 16, 2026
4 checks passed
@jhult
jhult deleted the fix/sudo branch June 16, 2026 03:05
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.

1 participant