ソースを参照

Allowed SSH agent forwarding when using sudo

Tomas Bedrich 7年前
コミット
3efc7ae54e
1個のファイルの変更3行の追加0行の削除
  1. 3
    0
      roles/common/templates/sudoers.j2

+ 3
- 0
roles/common/templates/sudoers.j2 ファイルの表示

@@ -1 +1,4 @@
1 1
 {{ main_user_name }} ALL=(ALL) NOPASSWD: ALL
2
+
3
+# Allow SSH agent forwarding when using sudo
4
+Defaults    env_keep+=SSH_AUTH_SOCK

読み込み中…
キャンセル
保存