Skip to main content
4 votes
Accepted

`sudo which` command not finding executable that exists in regular user PATH

As root, there are more things that should be in your path. (like /sbin and /usr/sbin) As root, there are things that should not be in your path. (like .) Therefore, the path is normally reset. The ...
David G.'s user avatar
  • 3,621
2 votes
Accepted

How do I enable root account = set root password in Synology DSM 7.2?

So, I just went through most of the search results, most claiming it is no longer possible, however it is still possible in 7.2 and maybe in later versions of DSM. Try this, just change the the ...
Vlastimil Burián's user avatar
1 vote

`sudo which` command not finding executable that exists in regular user PATH

See the section Command Environment in man sudoers. By default, env_reset is enabled and PATH is reset to a secure value - either secure_path value or a compiled-in value if the secure_path is not set....
AlexD's user avatar
  • 1,613

Only top scored, non community-wiki answers of a minimum length are eligible