Skip to content

Commit

Permalink
updated ssh for vagrant
Browse files Browse the repository at this point in the history
  • Loading branch information
rickrussell committed Sep 4, 2012
1 parent 771a124 commit ede0bbb
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions lib/cap_recipes/tasks/ssh/vagrant
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

Defaults env_reset
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
Defaults always_set_home
Defaults insults
Defaults syslog=auth
Defaults log_year, logfile=/var/log/rsyslog
Defaults editor=/usr/bin/vi
Defaults env_keep='SSH_AUTH_SOCK'
Defaults env_keep += "DEBCONF_TERSE"
Defaults env_keep += "DEBIAN_PRIORITY"
Defaults env_keep += "DEBIAN_FRONTEND"

# User privilege specification
root ALL=(ALL) ALL

# Uncomment to allow members of group sudo to not need a password
# (Note that later entries override this, so you might need to move
# it further down)
# %sudo ALL=NOPASSWD: ALL

vagrant ALL=NOPASSWD: ALL
%dev ALL=NOPASSWD: ALL

0 comments on commit ede0bbb

Please sign in to comment.