Skip to content

Commit

Permalink
Fix authorized key file
Browse files Browse the repository at this point in the history
and link
  • Loading branch information
chee committed Aug 12, 2019
1 parent 44882bf commit 1beebd3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions library/skeletons.js
Expand Up @@ -4,7 +4,7 @@ let inquirer = require("inquirer")

exports.files = {
".ssh": {
authorizedKeys (_snoot, {authorizedKeys}) {
authorized_keys (_snoot, {authorizedKeys}) {
return authorizedKeys
}
},
Expand Down Expand Up @@ -128,11 +128,11 @@ module.exports = (request, response) =>
initial setup already does this, and serves files in
<code>./application/website</code> and apps in
<code>./application/boops</code> using <a
href="https://github.com/snootclub/boops">boops</a>.
href="https://github.com/snootclub/boop">boops</a>.
</p>
<p>
i promise that's cool and fun and not scary
i promise that's cool and fun
</p>
`
}
Expand Down
2 changes: 1 addition & 1 deletion library/snoots.js
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion library/unix.js
Expand Up @@ -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(" ")

Expand Down

0 comments on commit 1beebd3

Please sign in to comment.