Permalink
Browse files

This is dangerous but I have removed the requirement for an authed us…

…er on secure system
  • Loading branch information...
1 parent 50b641a commit 19a07f46d783f73b6a598d85f5b4eb9068bd0a71 @ivanvanderbyl committed Jun 24, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 chef-user.rb
  2. +1 −1 system.rb
View
2 chef-user.rb
@@ -45,7 +45,7 @@ def group
dep 'public key' do
def ssh_dir
- "/home/#{var(:username, :default => 'chef')}" / '.ssh'
+ "/home/#{var(:username, :default => 'deploy')}" / '.ssh'
end
met? { grep /^ssh-rsa/, ssh_dir + '/id_rsa.pub' }
meet {
View
2 system.rb
@@ -19,7 +19,7 @@ def ssh_conf_path file
end
dep 'secured ssh logins' do
- requires ['sshd.managed', 'passwordless ssh logins']
+ requires ['sshd.managed'] #, 'passwordless ssh logins']
met? {
# -o NumberOfPasswordPrompts=0
output = failable_shell('ssh -o StrictHostKeyChecking=no -o PasswordAuthentication=no nonexistentuser@localhost').stderr

0 comments on commit 19a07f4

Please sign in to comment.