add user assp to group clamav

This commit is contained in:
Jörg Deckert 2024-04-20 09:46:22 +02:00
parent 73258935e5
commit b571ea612c
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ $(CHROOT)$(install_assp):
RUN sh -c 'cd $(install_assp) && unzip images/images.zip && rm images/images.zip' RUN sh -c 'cd $(install_assp) && unzip images/images.zip && rm images/images.zip'
RUN sh -c 'cd $(install_assp) && unzip filecommander/$(ASSP_FC_VER).ZIP && rm -rf filecommander/$(ASSP_FC_VER).ZIP && mv $(ASSP_FC_VER)/images/* images/ && mv $(ASSP_FC_VER)/lib/* lib/ && rm -rf $(ASSP_FC_VER)' RUN sh -c 'cd $(install_assp) && unzip filecommander/$(ASSP_FC_VER).ZIP && rm -rf filecommander/$(ASSP_FC_VER).ZIP && mv $(ASSP_FC_VER)/images/* images/ && mv $(ASSP_FC_VER)/lib/* lib/ && rm -rf $(ASSP_FC_VER)'
rm -rf $(CHROOT)/root/.cpan/build $(CHROOT)/root/.cpan/sources rm -rf $(CHROOT)/root/.cpan/build $(CHROOT)/root/.cpan/sources
-RUN useradd -M -r -G users,wheel -d /opt/assp -s /bin/bash --uid 237 --user-group --comment "Anti-Spam SMTP Proxy Server" assp -RUN useradd -M -r -G clamav,users,wheel -d /opt/assp -s /bin/bash --uid 237 --user-group --comment "Anti-Spam SMTP Proxy Server" assp
RUN passwd -l assp; RUN passwd -l assp;
RUN chown -R assp:assp $(install_assp) RUN chown -R assp:assp $(install_assp)