Giter Site home page Giter Site logo

incorect sudoers-fiel about larbs HOT 4 CLOSED

lukesmithxyz avatar lukesmithxyz commented on July 21, 2024 1
incorect sudoers-fiel

from larbs.

Comments (4)

 avatar commented on July 21, 2024

Got a same problem. It wiped out my /etc/sudoers clean.
Easily fixable by logging in as root su - and pasting sudoers file contents into visudo.

from larbs.

LukeSmithxyz avatar LukeSmithxyz commented on July 21, 2024

I've never been able to replicate this problem. Does any have any idea what could be happening?

from larbs.

LukeSmithxyz avatar LukeSmithxyz commented on July 21, 2024

So I've done a little testing and it seems that this problem is likely caused by a temporary loss in internet connection. If curl can't connect to the sudoers file on Github to download, it will actually just erase the location it's supposed to be saving it to!

Anyway, the cause of this is either (1) those users who have had the problem have been installing LARBS with poor internet connection and curl isn't patient enough for it or (2) Github has had some outages or delays and curl isn't patient enough.

I'm going to try to make curl more forgiving or find a more consistent place to host the file than Github. I'll probably also add a strong recommendation to install via consistent ethernet, etc. or a fix if this problem occurs.

from larbs.

LukeSmithxyz avatar LukeSmithxyz commented on July 21, 2024

Actually I've fixed this now, just clumsily replacing and adding lines to sudoers file with coreutilites. Ugly for now, but will be more robust for users for the time being.

from larbs.

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.