Skip to content

add sudo requirement for local install #14173

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

Closed
wants to merge 1 commit into from

Conversation

destan
Copy link

@destan destan commented Mar 15, 2021

add sudo requirement for local install in the README

Description

It fails with following error if ./algo is not run with sudo:

fatal: [localhost]: FAILED! => {"changed": false, "msg": "non-zero return code", "rc": 1, "stderr": "sudo: a password is required\n", "stderr_lines": ["sudo: a password is required"], "stdout": "", "stdout_lines": []}

This happens when the algo script is run on the target machine.

I assume this would still happen if algo script run from another machine but the ssh user has no sudo privilege or requires a password for sudo. However, I didn't test this case hence didn't add anything about that.

Motivation and Context

How Has This Been Tested?

Tested with Ubuntu 20.04 updated today (2021-03-15) and algo repository with commit id 70f9f91.

Types of changes

  • Readme update

Checklist:

  • I have read the CONTRIBUTING document.
  • [] My code follows the code style of this project.
  • [] My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • [] I have added tests to cover my changes.
  • [] All new and existing tests passed.

It fails with following error it ./algo is not run with sudo:

fatal: [localhost]: FAILED! => {"changed": false, "msg": "non-zero return code", "rc": 1, "stderr": "sudo: a password is required\n", "stderr_lines": ["sudo: a password is required"], "stdout": "", "stdout_lines": []}
@CLAassistant
Copy link

CLAassistant commented Mar 15, 2021

CLA assistant check
All committers have signed the CLA.

dguido added a commit that referenced this pull request Aug 3, 2025
This addresses the issue reported in PR #14173 where local installations
fail with 'sudo: a password is required' error. The sudo requirement is
now properly documented in the local installation guide rather than the
main README.

When installing Algo locally (on the same system where the scripts are
installed), administrative privileges are required to configure system
services and network settings.
dguido added a commit that referenced this pull request Aug 3, 2025
This addresses the issue reported in PR #14173 where local installations
fail with 'sudo: a password is required' error. The sudo requirement is
now properly documented in the local installation guide rather than the
main README.

When installing Algo locally (on the same system where the scripts are
installed), administrative privileges are required to configure system
services and network settings.
@dguido
Copy link
Member

dguido commented Aug 3, 2025

Thank you! Closing in favor of #14790

@dguido dguido closed this Aug 3, 2025
dguido added a commit that referenced this pull request Aug 3, 2025
This addresses the issue reported in PR #14173 where local installations
fail with 'sudo: a password is required' error. The sudo requirement is
now properly documented in the local installation guide rather than the
main README.

When installing Algo locally (on the same system where the scripts are
installed), administrative privileges are required to configure system
services and network settings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants