diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index 1aee903..5913732 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -38,7 +38,7 @@ elseif(ASCIIDOC AND A2X) add_custom_target(doc ALL DEPENDS ${PROJECT_BINARY_DIR}/static-subid.conf.5 ${PROJECT_BINARY_DIR}/static-subid.8) else() - message(FATAL_ERROR "Either asciidoctor required for manpages") + message(FATAL_ERROR "Either asciidoctor or asciidoc/a2x is required for manpage generation") endif() # Install the actual manpage diff --git a/docs/static-subid.conf.adoc b/docs/static-subid.conf.adoc index c48d29f..eac34f8 100644 --- a/docs/static-subid.conf.adoc +++ b/docs/static-subid.conf.adoc @@ -76,7 +76,7 @@ Must not exceed compile-time limit (typically 128 * 65536). This should be suffi *SUB_GID_COUNT* (default: 65536):: Number of subordinate GIDs allocated per user. + -Must not exceed compile-time limit (typically (128 * 65535)). This should be sufficient for even high density userspace container environments. +Must not exceed compile-time limit (typically (128 * 65536)). This should be sufficient for even high density userspace container environments. === Behavioral Options @@ -165,13 +165,13 @@ Keys read from _/etc/login.defs_ match keys read from the *static-subid* configs == EXCLUDING SPECIFIC USERS You cannot mask a user directly. What you can do is set *SKIP_IF_EXISTS* to true and perform: - + .... usermod --add-subuid $(id -u ${MASKUSER})-$(id -u ${MASKUSER}) ${MASKUSER} usermod --add-subgid $(id -u ${MASKUSER})-$(id -u ${MASKUSER}) ${MASKUSER} .... -This will setup a single subuid and for the user which matches their existing user id. +This will setup a single subuid and subgid for the user which matches their existing user id. == EXAMPLES diff --git a/static-subid.spec b/static-subid.spec index 6c0b175..e01e481 100644 --- a/static-subid.spec +++ b/static-subid.spec @@ -10,7 +10,7 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: redhat-rpm-config systemd-rpm-macros BuildRequires: cmake >= 3.21 -BuildRequires: gcc +BuildRequires: gcc BuildRequires: (rubygem-asciidoctor or asciidoc ) Requires: shadow-utils @@ -27,7 +27,7 @@ Requires: %{name} = %{version}-%{release} Requires: systemd Enhances: %{name} Summary: Systemd integration for static-subid -BuildArch: noarch +BuildArch: noarch %description systemd Provides a systemd service to generate subids for a username