Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
go-sso
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
id
go-sso
Commits
715507b5
Commit
715507b5
authored
7 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Add systemd hardening to sso-server
parent
929bcfd5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
debian/sso-server.service
+10
-1
10 additions, 1 deletion
debian/sso-server.service
with
10 additions
and
1 deletion
debian/sso-server.service
+
10
−
1
View file @
715507b5
[Unit]
Description
=
SSO Server
After
=
auth-server.socket
After
=
network.target
auth-server.socket
[Service]
User
=
sso-server
...
...
@@ -9,6 +9,15 @@ EnvironmentFile=-/etc/default/sso-server
ExecStart
=
/usr/bin/sso-server --addr $ADDR
Restart
=
always
# Hardening
NoNewPrivileges
=
yes
PrivateTmp
=
yes
PrivateDevices
=
yes
ProtectHome
=
yes
ProtectSystem
=
full
ReadOnlyDirectories
=
/
CapabilityBoundingSet
=
CAP_NET_BIND_SERVICE
[Install]
WantedBy
=
multi-user.target
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