Skip to content

Conversation

hallyn
Copy link
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 githubvisible@zugschlus.de

Copy link
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 <alx@kernel.org>

@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 <serge@hallyn.com>
Reported-by: Marc Haber <githubvisible@zugschlus.de>
Reviewed-by: Alejandro Colomar <alx@kernel.org>
@alejandro-colomar
Copy link
Collaborator

Thanks! I'll merge.

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