Coder Social home page Coder Social logo

Deactivate root user about alis HOT 4 CLOSED

senekor avatar senekor commented on June 6, 2024
Deactivate root user

from alis.

Comments (4)

senekor avatar senekor commented on June 6, 2024 1

@picodotdev thanks a lot! 😊

from alis.

senekor avatar senekor commented on June 6, 2024

It would already be a great improvement if the regular user could have root priviledges. I've now figured out that the regular user added by the script is already part of the wheel group, which is commonly used to give root priviledges. However, the wheel group is not activated in the sudoers file by the script, I have to manually edit the sudoers file after installation before rebooting. Of course, it could be done after rebooting, but that would be a bit more tedious.

Is it possible to add root priviledges to the wheel group with alis?

from alis.

picodotdev avatar picodotdev commented on June 6, 2024

Hello @remLse, deactivate the root login can be an option to add, I would need to search how to do, can you search what configuration is needed to change or commands to execute to deactivate root login?

This line should activate wheel group in sudoers file, is this line you are talking about? is it not working?

alis/alis.sh

Line 738 in 2d7fbda

arch-chroot /mnt sed -i 's/# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/' /etc/sudoers

from alis.

senekor avatar senekor commented on June 6, 2024

Ah, I see. Yes, this line looks like it's exactly what I need. I had to do this manually. I have to investigate why it wasn't working. I'll get back to you when I find out.

The part about deactivating root is actually not important to me, I mainly just want to get root priviledges for my main user.

Thanks for taking the time to answer!

from alis.

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.