Page MenuHomeFreeBSD

login.conf(5): Default values: Rename column, elaborate on absence of such
ClosedPublic

Authored by olce on May 31 2023, 2:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 2, 11:56 PM
Unknown Object (File)
Mar 19 2024, 5:37 AM
Unknown Object (File)
Mar 19 2024, 5:37 AM
Unknown Object (File)
Mar 19 2024, 5:37 AM
Unknown Object (File)
Mar 19 2024, 5:37 AM
Unknown Object (File)
Mar 17 2024, 10:03 AM
Unknown Object (File)
Mar 17 2024, 10:03 AM
Unknown Object (File)
Mar 17 2024, 10:02 AM

Details

Summary

Column "Notes" in fact only contains default values for capabilities, so
make this clear by renaming it to "Default".

Add a small introductory text mentioning it, and what an absence of
default value means (inheritance).

PR: 271748

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

olce requested review of this revision.May 31 2023, 2:35 PM
olce edited the summary of this revision. (Show Details)

Add PR in commit message. Fix typo (section is name "Default").

emaste added a subscriber: emaste.

In the commit message I'd add some comment that a column for defaults already existed, it just had the wrong name.

lib/libutil/login.conf.5
185

"in the" or "by the" Default column sounds more natural

188

A little less verbose perhaps, "If there is no default, the value is inherited from..."

This revision is now accepted and ready to land.Jan 26 2024, 2:33 PM
olce marked 2 inline comments as done.
olce retitled this revision from login.conf(5): Default values under "Default", elaborate on absence of such to login.conf(5): Default values: Rename column, elaborate on absence of such.
olce edited the summary of this revision. (Show Details)

Apply suggestions.

This revision now requires review to proceed.Jan 26 2024, 3:12 PM
olce edited the summary of this revision. (Show Details)

Fix the commit message.

This revision is now accepted and ready to land.Jan 26 2024, 3:30 PM