Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions docs/static-subid.conf.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions static-subid.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
Loading