Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use sudo when SSH uses root user #160

Open
mweinelt opened this issue Jul 19, 2021 · 1 comment
Open

Don't use sudo when SSH uses root user #160

mweinelt opened this issue Jul 19, 2021 · 1 comment
Labels
help wanted PR very welcome! triaged Discussed in-team, actionable

Comments

@mweinelt
Copy link
Contributor

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;
}
@srhb srhb added the help wanted PR very welcome! label Nov 17, 2021
@srhb
Copy link
Contributor

srhb commented Nov 17, 2021

We're fine with an if root then no-sudo! :)

@srhb srhb added the triaged Discussed in-team, actionable label Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted PR very welcome! triaged Discussed in-team, actionable
Projects
None yet
Development

No branches or pull requests

2 participants