Giter VIP home page Giter VIP logo

Comments (3)

bmpotter avatar bmpotter commented on July 1, 2024

@clementkng Thx for reminding me that brew shouldn't be run as root. I took your advice on the short term solution and updated the readme to specify that on macos they need to install jq, gettext, and socat before running the script.

I'm interested in what solution you suggest for the longer term to automatically handle the prereqs in deploy-mgmt-hub.sh. As far as i know there is no way to have script downgrade its effective id to the user before sudo -i was run. I guess another approach is to not have them run the script with sudo, and then have the script put sudo in front each cmd that needs it, but that is kind of messy and error prone. What are your thoughts?

from devops.

clementkng avatar clementkng commented on July 1, 2024

@bmpotter Yeah, I can't think of or find any other way other than the two ways you mentioned. Even looking at the script, I can't really tell where sudo would need to be applied so maybe it's best to leave the script as it is now (one extra command for Mac users isn't too much).

from devops.

bmpotter avatar bmpotter commented on July 1, 2024

@clementkng Ok, then i'll close this issue as complete (i made the readme updates). If you come up with a better way to handle this, you can reopen the issue.

from devops.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.