morph
morph copied to clipboard
Don't use sudo when SSH uses root user
I can't disable sudo on machines, that don't have any users that should elevate because morph relies on sudo, likely to switch-to-configuration? Can this be made optional?
Executing 'switch' on matched hosts:
** foo.example.com
bash: sudo: command not found
exit status 127%
{
security.sudo.enable = false;
}
We're fine with an if root then no-sudo! :)