Stop invalidating the global sudo timestamp on privileged-mode exit #4
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: phg/hosts#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
PermissionManager.release_sudo currently runs sudo -k when privileged mode ends. That invalidates the user-wide cached sudo timestamp, including authorization acquired outside hosts. Leaving the application mode should release application state without changing process-external sudo state.
This is related to #3, which covers alternative PAM authentication, but it has a separate cause and completion criterion.
Acceptance criteria
Fixed in:
68a9696e7d