Commit 5d8da16
authored
In a container, sshd should not run as root (#152)
* In a container, ssh should not run as root
Add the option to choose the owner of configurations files and their locations.
Signed-off-by: Michée Lengronne <[email protected]>
* custom path and user added
Signed-off-by: Michée Lengronne <[email protected]>
* correct ssh custom parameters names
Signed-off-by: Michée Lengronne <[email protected]>
* variable interpolation
Signed-off-by: Michée Lengronne <[email protected]>
* ssh privilege separation for a non root user
It should be 'no'
Signed-off-by: Michée Lengronne <[email protected]>
* syntax correction
Signed-off-by: Michée Lengronne <[email protected]>
* EnforcedStyle: assign_to_condition
Will test this rubocop one. Maybe it is the other.
Signed-off-by: Michée Lengronne <[email protected]>
* variables names fixed
Signed-off-by: Michée Lengronne <[email protected]>1 parent d1affa2 commit 5d8da16
2 files changed
+21
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
28 | | - | |
| 31 | + | |
29 | 32 | | |
30 | | - | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | | - | |
34 | | - | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
31 | 39 | | |
32 | 40 | | |
33 | 41 | | |
| |||
63 | 71 | | |
64 | 72 | | |
65 | 73 | | |
66 | | - | |
67 | | - | |
| 74 | + | |
| 75 | + | |
68 | 76 | | |
69 | 77 | | |
70 | 78 | | |
71 | | - | |
| 79 | + | |
72 | 80 | | |
73 | 81 | | |
74 | 82 | | |
| |||
84 | 92 | | |
85 | 93 | | |
86 | 94 | | |
87 | | - | |
| 95 | + | |
88 | 96 | | |
89 | 97 | | |
90 | 98 | | |
| |||
194 | 202 | | |
195 | 203 | | |
196 | 204 | | |
197 | | - | |
| 205 | + | |
198 | 206 | | |
199 | 207 | | |
200 | 208 | | |
| |||
481 | 489 | | |
482 | 490 | | |
483 | 491 | | |
484 | | - | |
| 492 | + | |
485 | 493 | | |
486 | 494 | | |
487 | 495 | | |
| |||
0 commit comments