5

Set up .net core in CentOS 7.
I'm able to access `dotnet --info` but can't access `sudo dotnet --info`.
Provided I can't access root.

Comments
  • 0
    If it's Command Not Found then Try `which dotnet`(no sudo). If it's not in your path then you'll need to provide the full path or add it to your path.
  • 0
    If you're getting a permission denied error, check your sudo configuration.
Add Comment