Skip to content

Commit cd36029

Browse files
authored
Merge pull request #41 from gmkurtzer/master
Properly fix what is shell code and what is text
2 parents 2b53e1b + 963efeb commit cd36029

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pages/docs/overview/faq.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,10 @@ This fix solves the following error when Singularity is installed into the defau
263263
```bash
264264
$ sudo singularity create /tmp/centos.img
265265
sudo: singularity: command not found
266-
The cause of the problem is that `sudo` sanitizes the PATH environment variable and does not include /usr/local/bin in the default search path. Considering this program path is by default owned by root, it is reasonable to extend the default sudo PATH to include this directory.
267266
```
268267

268+
The cause of the problem is that `sudo` sanitizes the PATH environment variable and does not include /usr/local/bin in the default search path. Considering this program path is by default owned by root, it is reasonable to extend the default sudo PATH to include this directory.
269+
269270
To add /usr/local/bin to the default sudo search path, run the program visudo which will edit the sudoers file, and search for the string 'secure_path'. Once found, append :/usr/local/bin to that line so it looks like this:
270271

271272
```bash

0 commit comments

Comments
 (0)