Explorar el Código

Allowed SSH agent forwarding when using sudo

Tomas Bedrich hace 7 años
padre
commit
3efc7ae54e
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3
    0
      roles/common/templates/sudoers.j2

+ 3
- 0
roles/common/templates/sudoers.j2 Ver fichero

@@ -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

Loading…
Cancelar
Guardar