le1t0-deprec 2.1.6.047 → 2.1.6.048

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/CHANGELOG +4 -0
  2. data/lib/deprec/recipes/ssh.rb +2 -0
  3. metadata +3 -3
data/CHANGELOG CHANGED
@@ -1,5 +1,9 @@
1
1
  # deprec changelog
2
2
 
3
+ = 2.1.6.048 (Aug 3, 2010)
4
+
5
+ * Make sure authorized_keys doesn't get written with ownership root and world readable
6
+
3
7
  = 2.1.6.047 (Aug 2, 2010)
4
8
 
5
9
  * upgraded keepalived
@@ -58,6 +58,8 @@ Capistrano::Configuration.instance(:must_exist).load do
58
58
  task :set_access do
59
59
  if ssh_users.size > 0
60
60
  run "rm -f ~/.ssh/authorized_keys.new"
61
+ run "touch ~/.ssh/authorized_keys.new"
62
+ run "chmod 600 ~/.ssh/authorized_keys.new"
61
63
  ssh_users.each do |ssh_user|
62
64
  keys = [ssh_user_keys[ssh_user]].flatten
63
65
  keys.each do |ssh_key|
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 2
7
7
  - 1
8
8
  - 6
9
- - 47
10
- version: 2.1.6.047
9
+ - 48
10
+ version: 2.1.6.048
11
11
  platform: ruby
12
12
  authors:
13
13
  - Le1t0
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-02 00:00:00 +02:00
18
+ date: 2010-08-03 00:00:00 +02:00
19
19
  default_executable: depify
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency