diff --git a/library/skeletons.js b/library/skeletons.js index 197fa78..22a6e7b 100644 --- a/library/skeletons.js +++ b/library/skeletons.js @@ -4,7 +4,7 @@ let inquirer = require("inquirer") exports.files = { ".ssh": { - authorizedKeys (_snoot, {authorizedKeys}) { + authorized_keys (_snoot, {authorizedKeys}) { return authorizedKeys } }, @@ -128,11 +128,11 @@ module.exports = (request, response) => initial setup already does this, and serves files in ./application/website and apps in ./application/boops using boops. + href="https://github.com/snootclub/boop">boops.

- i promise that's cool and fun and not scary + i promise that's cool and fun

` } diff --git a/library/snoots.js b/library/snoots.js index 4e9a7d3..c4ad2ed 100644 --- a/library/snoots.js +++ b/library/snoots.js @@ -44,7 +44,7 @@ async function fixSshPermissions (snoot) { let commonId = await unix.getCommonGid() for (let path of snootOwnedPaths) { - await fs.chmod(path, 0o755) + await fs.chmod(path, 0o750) } await fs.chmod(authorizedKeysPath, 0o644) diff --git a/library/unix.js b/library/unix.js index 85ba384..e44c455 100644 --- a/library/unix.js +++ b/library/unix.js @@ -41,7 +41,7 @@ exports.createUser = async function createUser ({ "-d", homeDirectory, "-g", groups[0], "-G", groups.join(","), - "-s /bin/no-login", + "-s /bin/bash", user ].join(" ")