diff options
author | Malfurious <m@lfurio.us> | 2024-06-19 02:48:05 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2024-06-30 02:11:54 -0400 |
commit | 02da95230612c5ae7a31587b31eca7a8c9a05ce0 (patch) | |
tree | 27fab0b313330d52af2db4ea3b6065dac83bec12 | |
parent | 3d6aa13235e404c5b23fc65d41ac1f607175d7f8 (diff) | |
download | mailnode-02da95230612c5ae7a31587b31eca7a8c9a05ce0.tar.gz mailnode-02da95230612c5ae7a31587b31eca7a8c9a05ce0.zip |
Don't useradd --system accounts
Removing this option causes the UIDs and GIDs to match, which is
desirable since GIDs have not yet been predictable. The other
differences with --system don't matter for our purposes.
Signed-off-by: Malfurious <m@lfurio.us>
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -6,20 +6,20 @@ ENV DEBIAN_FRONTEND=noninteractive # Create system users with fixed, well-known UID/GIDs RUN useradd \ - --uid 2000 --system \ + --uid 2000 \ --shell /usr/sbin/nologin \ --home-dir /var/mail/vhost \ --skel /dev/null --create-home \ vmailbox RUN useradd \ - --uid 2001 --system \ + --uid 2001 \ --shell /usr/sbin/nologin \ --home-dir /var/spool/postfix \ postfix RUN useradd \ - --uid 2002 --system \ + --uid 2002 \ --shell /usr/sbin/nologin \ --home-dir /var/spool/mlmmj \ --skel /dev/null --create-home \ |