Handle locked user type suffix ('u!') and missing id field#10
Merged
Conversation
|
@cromerc Could this be merged ASAP and a new release pushed out? Thanks. |
Owner
|
Sure, I will do so on friday. |
Reported in Debian as: https://bugs.debian.org/1128803 where a minimal "g _ssh" declaration has been found in the openssh-client package, breaking installations. Fixes: cromerc#6
Contributor
Author
|
I hope you don't mind but I also added a commit to fix #6 to this PR because it conflicts but is fairly trivial, so I thought it might be easier to handle together. |
Contributor
Author
|
A note on testing: the locked user patch has been in the Debian package as a patch for some time now so has been widely used and @sthibaul has tested the missing-id patch. |
Owner
|
Thanks for opening the PR, I have merged it and released 0.7.5 with your changes included. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
From the
sysusers.dmanpage:This patch adds such support to opensysusers.
add_userinvocation.usermod(8)inadd_userto set account expiry to imply a locked account.Note that
useradd(8)ignores the-eoption if a system account is being created so we need an extra command for this.