Giter Site home page Giter Site logo

Comments (5)

LukeSmithxyz avatar LukeSmithxyz commented on June 22, 2024

I'm not quite sure how root ALL=(ALL) ALL wasn't in your sudoers file. LARBS only temporarily adds some lines to to the sudoers file, but doesn't delete any. I assume that when you write sudo -i "" you are omitting the username? Of course it shouldn't work if $name isn't defined by the script.

Did you do anything irregular in your original Arch install? Did you install sudo manually? Or base-devel?

from larbs.

richeyward avatar richeyward commented on June 22, 2024

Hi Luke. Firstly, correction on the sudo -u"" above. The users username was in there, just the formatting in Github omitted it so it looks blank. The newly created user's name was in there.

Secondly, I recreated my steps... I installed Arch using the iso live image and pacstrap (base), and it seems that /etc/sudoers doesn't exist as sudo wasn't installed....

Manually installing sudo added the line by default, THEN running LARBS works.

For reference, I used the Arch install docs here.

from larbs.

LukeSmithxyz avatar LukeSmithxyz commented on June 22, 2024

from larbs.

krook1024 avatar krook1024 commented on June 22, 2024

I've just experienced this too when installing it on my X230. It's strange because I didn't have this issue when I installed LARBS on my T530 just two days ago.

I resolved this with doing pacman -Rscn sudo then pacman -S sudo it and editing /etc/sudoers manually, then proceeding with installing LARBS, but with the sudoers file editing method commented out. It works fine now.

from larbs.

LukeSmithxyz avatar LukeSmithxyz commented on June 22, 2024

I realized today that I had misordered something in the script to cause this problem, bit I've also added a failsafe that should copy over the newly produced sudoers file if there are any problems.

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.