Man: Document FORCE_SHADOW option in login.defs(5) - #1730
Open
asakure wants to merge 1 commit into
Open
Conversation
asakure
force-pushed
the
document_force_shadow
branch
from
September 4, 2026 11:32
ed61670 to
15241e3
Compare
asakure
force-pushed
the
document_force_shadow
branch
from
September 7, 2026 06:56
15241e3 to
a1c266b
Compare
Comment on lines
+9
to
+15
| If set to <replaceable>yes</replaceable>, | ||
| the shadow utilities will create the shadow passwd and | ||
| shadow group files if | ||
| <filename>/etc/shadow</filename> or | ||
| <filename>/etc/gshadow</filename> are missing and | ||
| use them. | ||
| The default value is <replaceable>no</replaceable>. |
Collaborator
There was a problem hiding this comment.
Let's just name /etc/shadow and /etc/gshadow in the first reference:
If set to <replaceable>yes</replaceable>,
the shadow utilities will create
<filename>/etc/shadow</filename>
and/or
<filename>/etc/gshadow</filename>
if they are missing,
and use them.
The default value is <replaceable>no</replaceable>.@hallyn , @ikerexxe , I've never used this feature, and thus don't know it enough; if you know it, please verify that this text matches the actual behavior.
Contributor
Author
There was a problem hiding this comment.
Hi @alejandro-colomar I have rephrased the text in FORCE_SHADOW.xml file.
One more question - do I need to add FORCE_SHADOW under CROSS REFERENCES section as well ? (as of now, I did it for a few but not for all)
Collaborator
There was a problem hiding this comment.
I don't know. What do we do for similar variables?
FORCE_SHADOW option is already implemented in code but it was missing from the man-page. Signed-off-by: Akshay Sakure <asakure@redhat.com>
asakure
force-pushed
the
document_force_shadow
branch
from
September 7, 2026 14:11
a1c266b to
1d59b2c
Compare
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.
FORCE_SHADOWoption is already implemented in codebut it was missing from the login.defs(5) man-page.