[nextcloud-web] code: Delete lool user and group
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nextcloud-web] code: Delete lool user and group
- Date: Tue, 29 Dec 2020 18:14:39 +0000 (UTC)
commit 09afd668c423a625a0e7de08d1bbc48b1cce6f92
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Tue Dec 29 19:14:34 2020 +0100
code: Delete lool user and group
code/Dockerfile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/code/Dockerfile b/code/Dockerfile
index a067d33..6546729 100644
--- a/code/Dockerfile
+++ b/code/Dockerfile
@@ -7,8 +7,7 @@ RUN chmod a+w /etc/loolwsd/loolwsd.xml && \
chmod g=u /etc/passwd
RUN chown -R root:root /opt/lool /etc/loolwsd && \
- sed -i 's/101:102/1000360000:1000360000/' /etc/passwd && \
- sed -i 's/:102:/:1000360000:/' /etc/group
+ userdel lool && groupdel lool
ADD entrypoint.sh /entrypoint
ENTRYPOINT ["/entrypoint"]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]