From 4dd49bcea644bbf85c0ceb7c26ef669502d8fb7a Mon Sep 17 00:00:00 2001 From: Andrew Martin Date: Sat, 19 May 2018 02:55:52 -0700 Subject: [PATCH 1/3] LSGM in a box Docker file change to allow root access with default password "pcmasterrace" --- Dockerfile | 4 +++- README.md | 9 +-------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index b6ac93c..aff8b97 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ # FROM ubuntu:16.04 -LABEL maintainer="LinuxGSM " +LABEL maintainer="LinuxGSM " ENV DEBIAN_FRONTEND noninteractive @@ -65,6 +65,8 @@ RUN adduser --disabled-password --gecos "" lgsm && \ cp /linuxgsm.sh /home/lgsm/linuxgsm.sh && \ usermod -G tty lgsm +RUN passwd root \ pcmasterrace + USER lgsm WORKDIR /home/lgsm diff --git a/README.md b/README.md index 921be1d..03ccdda 100644 --- a/README.md +++ b/README.md @@ -7,12 +7,5 @@ # LinuxGSM Docker This docker image is under development and not officialy supported. - -The developers of LinuxGSM are not currently docker experts. So if there is some interested in becoming a LinuxGSM docker developer please contact us. - A docker container distribution of https://github.com/GameServerManagers/LinuxGSM - -Dockerhub https://hub.docker.com/r/gameservermanagers/linuxgsm-docker/ - -Run Game Servers in Docker, multiplex multiple LinuxGSM deployments easily by taking advantage of Dockers port mapping. - +Dockerhub https://hub.docker.com/r/gameservermanagers/linuxgsm-docker/ \ No newline at end of file From 392e292dc6fee322974afd34fc4e7b8e0e649dcc Mon Sep 17 00:00:00 2001 From: Andrew Martin Date: Sat, 19 May 2018 03:10:23 -0700 Subject: [PATCH 2/3] Fixed root password change #1 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index aff8b97..16c7a13 100644 --- a/Dockerfile +++ b/Dockerfile @@ -65,7 +65,7 @@ RUN adduser --disabled-password --gecos "" lgsm && \ cp /linuxgsm.sh /home/lgsm/linuxgsm.sh && \ usermod -G tty lgsm -RUN passwd root \ pcmasterrace +RUN echo "root:pcmasterrace" | chpasswd USER lgsm WORKDIR /home/lgsm From c43491eab69a2fd6e03dfe65f3716448dc3b1cb1 Mon Sep 17 00:00:00 2001 From: Andrew Martin Date: Sat, 19 May 2018 03:29:39 -0700 Subject: [PATCH 3/3] Auther update <3 --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 16c7a13..536f70a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,9 @@ # FROM ubuntu:16.04 -LABEL maintainer="LinuxGSM " +LABEL maintainer="LinuxGSM " + +# Worked on by andrew.martin1995@hotmail.com ENV DEBIAN_FRONTEND noninteractive @@ -65,7 +67,9 @@ RUN adduser --disabled-password --gecos "" lgsm && \ cp /linuxgsm.sh /home/lgsm/linuxgsm.sh && \ usermod -G tty lgsm +# For Develop uses only RUN echo "root:pcmasterrace" | chpasswd +# i'm super serious USER lgsm WORKDIR /home/lgsm