Specifically, I am using conda command part of Miniconda distribution. It happens that the installer put files in /root/miniconda3/.
The problem is that /root/miniconda3/bin is in path, but the command conda can only be run by root, not other sudoer.
I tried to set rights to 777 (I know this is bad since it contains compiler and stuff, and it's under root, but this is only for test environment).
Note: I own the root and the sudoer.