Skip to content

Conversation

@geunwoonoh
Copy link
Collaborator

Add sudoPAMDisabled flag to skip control client and auth manager startup when server-side control endpoint is not available.
This allows v1.3.1 release to proceed without server dependency.

Changes:

  • Add pkg/utils/pam.go with IsSudoPAMDisabled() function
  • Update cmd/alpamon/command/root.go with conditional startup logic
  • Graceful shutdown already handles nil controlClient/authManager

Add sudoPAMDisabled flag to skip control client and auth manager
startup when server-side control endpoint is not available.
This allows v1.3.1 release to proceed without server dependency.

Changes:
- Add pkg/utils/pam.go with IsSudoPAMDisabled() function
- Update cmd/alpamon/command/root.go with conditional startup logic
- Graceful shutdown already handles nil controlClient/authManager
@geunwoonoh geunwoonoh merged commit 379b6ac into release/v1.3.1 Jan 8, 2026
2 checks passed
@geunwoonoh geunwoonoh deleted the 173-add-flag-to-temporarily-disable-sudo-pam-functionality branch January 8, 2026 06:44
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.

2 participants