Giter Site home page Giter Site logo

When created keys for users in authorized_keys ensure .ssh and authorized_keys exist and proper permissions about puppet-module-ssh HOT 4 CLOSED

ghoneycutt avatar ghoneycutt commented on July 28, 2024
When created keys for users in authorized_keys ensure .ssh and authorized_keys exist and proper permissions

from puppet-module-ssh.

Comments (4)

ghoneycutt avatar ghoneycutt commented on July 28, 2024

I think this would conflict with https://github.com/ghoneycutt/puppet-module-common#manage_dotssh

We could use the if ! defined pattern, though its a bit ugly.

from puppet-module-ssh.

benkevan avatar benkevan commented on July 28, 2024

The manage_dotssh assumes that puppet is creating the account. In my case with SSSD accounts aren't handled by puppet but the contents could/should be managed by puppet.

Creating a user without .ssh isn't necessarily an evil, I personally feel that .ssh should be managed by an ssh module and not by a user creation module (for what my .02 is worth).

from puppet-module-ssh.

ghoneycutt avatar ghoneycutt commented on July 28, 2024

This module uses the ssh_authorized_key type and it appears that the provider will create the directory for you.

from puppet-module-ssh.

benkevan avatar benkevan commented on July 28, 2024

When testing it didn't create the .ssh directory nor the authorized_key.. I'll dig into it a bit more soon hopefully.

from puppet-module-ssh.

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.