Thanks to visit codestin.com
Credit goes to github.com

Skip to content

passwd: document exit code when PAM has errored#1244

Merged
alejandro-colomar merged 1 commit into
shadow-maint:masterfrom
hallyn:2025-03-22/pam
Mar 24, 2025
Merged

passwd: document exit code when PAM has errored#1244
alejandro-colomar merged 1 commit into
shadow-maint:masterfrom
hallyn:2025-03-22/pam

Conversation

@hallyn
Copy link
Copy Markdown
Member

@hallyn hallyn commented Mar 22, 2025

closes #1219

When pam returns an error, we were exiting with exit code 10, which was hardcoded and not documented. Create a name for it, and document it in the manpage.

Reported-by: Marc Haber [email protected]

Comment thread man/passwd.1.xml Outdated
Copy link
Copy Markdown
Collaborator

@alejandro-colomar alejandro-colomar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Except for the minor issues noted in the comment,

Reviewed-by: Alejandro Colomar <[email protected]>

@Zugschlus is this enough for you? (I think the separation of error codes would be a separate thing.)

closes shadow-maint#1219

When pam returns an error, we were exiting with exit code 10,
which was hardcoded and not documented.  Create a name for it,
and document it in the manpage.

Signed-off-by: Serge Hallyn <[email protected]>
Reported-by: Marc Haber <[email protected]>
Reviewed-by: Alejandro Colomar <[email protected]>
@alejandro-colomar
Copy link
Copy Markdown
Collaborator

Thanks! I'll merge.

@alejandro-colomar alejandro-colomar merged commit b0ccad2 into shadow-maint:master Mar 24, 2025
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.

undocumented return values from passwd

2 participants