Skip to content

Commit 58a4db7

Browse files
committed
Minor fix of removing the 'bash' from snippets
1 parent 6319053 commit 58a4db7

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

pages/docs/admin-docs/docs-security.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ VERBOSE [U=1000,P=1] singularity_registry_set() Adding valu
204204
(snipped to end)
205205

206206
```
207-
208207
DEBUG [U=1000,P=1] envar_set() Unsetting environment variable: SINGULARITY_APPNAME
209208
DEBUG [U=1000,P=1] singularity_registry_get() Returning value from registry: 'COMMAND' = 'shell'
210209
LOG [U=1000,P=1] main() USER=gmk, IMAGE='ubuntu', COMMAND='shell'
@@ -220,7 +219,7 @@ Not only do I see all of the configuration options that I (probably forgot about
220219
The above snippet was using the default SetUID program flow with a container image file named "ubuntu". For comparison, if we also use the `--userns` flag, and snip in the same places, you can see how the effective UID is never escalated, but we have the same outcome using a sandbox directory (*chroot*) style container.
221220

222221

223-
```bash
222+
```
224223
$ singularity -d shell --pid --userns ubuntu.dir/
225224
Enabling debugging
226225
Ending argument loop
@@ -230,7 +229,7 @@ Evaluating args: '--pid --userns ubuntu.dir/'
230229
```
231230
(snipped to PID namespace implementation, same place as above)
232231

233-
```bash
232+
```
234233
DEBUG [U=1000,P=32081] singularity_runtime_ns_pid() Using PID namespace: CLONE_NEWPID
235234
DEBUG [U=1000,P=32081] singularity_runtime_ns_pid() Virtualizing PID namespace
236235
DEBUG [U=1000,P=32081] singularity_registry_get() Returning NULL on 'DAEMON_START'
@@ -253,7 +252,7 @@ VERBOSE [U=1000,P=1] singularity_registry_set() Adding valu
253252
```
254253
(snipped to end)
255254

256-
```bash
255+
```
257256
DEBUG [U=1000,P=1] envar_set() Unsetting environment variable: SINGULARITY_APPNAME
258257
DEBUG [U=1000,P=1] singularity_registry_get() Returning value from registry: 'COMMAND' = 'shell'
259258
LOG [U=1000,P=1] main() USER=gmk, IMAGE='ubuntu.dir', COMMAND='shell'

0 commit comments

Comments
 (0)