Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dtu-enote-getpdf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
enote
dtu-enote-getpdf
Commits
29fd4d67
Commit
29fd4d67
authored
Jul 5, 2018
by
Iain Bryson
Browse files
Options
Downloads
Patches
Plain Diff
Create privilege separation dir required by Ubuntu (apparently).
parent
3434c5e5
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+2
-0
2 additions, 0 deletions
Dockerfile
create_sshd_privsep_dir.sh
+9
-0
9 additions, 0 deletions
create_sshd_privsep_dir.sh
with
11 additions
and
0 deletions
Dockerfile
+
2
−
0
View file @
29fd4d67
...
@@ -20,11 +20,13 @@ RUN mv /tmp/parallel /usr/bin/
...
@@ -20,11 +20,13 @@ RUN mv /tmp/parallel /usr/bin/
COPY
get-pdf.sh /
COPY
get-pdf.sh /
COPY
mod_caption.rb /
COPY
mod_caption.rb /
COPY
run-server.sh /
COPY
run-server.sh /
COPY
create_sshd_privsep_dir.sh /
RUN
ln
-s
/bin/bash /usr/bin/bash
RUN
ln
-s
/bin/bash /usr/bin/bash
RUN
sed
-i
's/PermitRootLogin prohibit-password/PermitRootLogin yes/'
/etc/ssh/sshd_config
RUN
sed
-i
's/PermitRootLogin prohibit-password/PermitRootLogin yes/'
/etc/ssh/sshd_config
RUN
sed
-ri
's/#?LogLevel INFO/LogLevel VERBOSE/'
/etc/ssh/sshd_config
RUN
sed
-ri
's/#?LogLevel INFO/LogLevel VERBOSE/'
/etc/ssh/sshd_config
RUN
bash
-c
-l
/create_sshd_privsep_dir.sh
## install RVM, Ruby, and Bundler
## install RVM, Ruby, and Bundler
#RUN gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
#RUN gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
...
...
This diff is collapsed.
Click to expand it.
create_sshd_privsep_dir.sh
0 → 100755
+
9
−
0
View file @
29fd4d67
#! /bin/bash
# Create the PrivSep empty dir if necessary
if
[
!
-d
/var/run/sshd
]
;
then
mkdir
/var/run/sshd
chmod
0755 /var/run/sshd
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment