- From: Joshua Timberman <
>
- To:
- Subject: [chef] Re: Execute resource - keeping SSH_AUTH_SOCK environment variable
- Date: Tue, 4 Jan 2011 19:45:15 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello!
On Jan 4, 2011, at 2:33 AM, Joe Van Dyk wrote:
>
If I'm logged on as user1 with my SSH_AUTH_SOCK environment variable
>
set, and I run chef-solo which runs a command as user2, how can I have
>
user2's command be able to access the SSH_AUTH_SOCK?
I'd make sure both users are in the same group (group and users managed with
chef resources) and set the file mode of the SSH_AUTH_SOCK file to be group
accessible.
- --
Opscode, Inc
Joshua Timberman, Technical Evangelist
IRC, Skype, Twitter, Github: jtimberman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
iEYEARECAAYFAk0j2zwACgkQO97WSdVpzT0JEACaAmveujd82JSpmX5eiH7JTeYv
n2YAni9LT7prtIrUMOWqn1wx1c3tyyHb
=db7m
-----END PGP SIGNATURE-----
Archive powered by MHonArc 2.6.16.