During the process of building gitlab according to the official website, we encountered sudo gem command not found problem. The solution is to modify the/etc/sudoers file and find the defaults secure_ The line path =/SBIN/bin/usr/SBIN/usr/bin can also be commented and deleted, so that the path will not be reset during dsudo
Similar Posts:
- linux sudo java : command not found
- sudo: /etc/sudoers is world writable sudo: no valid sudoers sources found, q…
- How to Solve Error Sudo: sorry, you must have a tty to run sudo
- Ifconfig command not found for Linux Installation Errors [How to Solve]
- E09 Error: sudo: effective uid is not 0, is sudo installed setuid root?
- -bash: ls: command not found [How to Solve]
- [Solved] Forbid root, handle error sudo must be owned by uid 0
- [Solved] Ls command not found is caused by the configuration of environment variables
- sudo: pip:command not Find problem solving
- Sudo: Port: command not found Error [How to Solve]