Giter Club home page Giter Club logo

Comments (3)

TigersWay avatar TigersWay commented on May 7, 2024

Are they? I'm not sure I see any obvious link between being allowed to ssh in and sudoers.
In fact the opposite - sudoers being allowed to ssh in - might be closer to the "truth".

from how-to-secure-a-linux-server.

imthenachoman avatar imthenachoman commented on May 7, 2024

@rodrigo-puente Did you do the Limit Who Can Use sudo section?

Ideally you want a different group for who can use sudo and who can SSH. If you want the same user to be able to both sudo and SSH, then you want to make sure they are part of both groups.

For example, my primary user is a member of the sudousers and sshusers group.

from how-to-secure-a-linux-server.

rodrigo-puente avatar rodrigo-puente commented on May 7, 2024

@TigersWay, you are right, this is more accurate and makes a lot more sense.

  • sudoers being allowed to ssh in -

@imthenachoman, yes I did that section. I was following the steps to secure the ssh and when I wanted to install some libraries on the server I kinda got lost why I couldn't install them. It may seem trivial, but for the inexperienced like me, it would have been a good hint to have something this:

For example, my primary user is a member of the sudousers and sshusers group

That last line also answers my question. Thank you both for your help.

from how-to-secure-a-linux-server.

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.