[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sudo-users
Subject:    Re: [sudo-users] Retain SSH_AUTH_SOCK environment variable
From:       Jamie Beverly <jamie.beverly () yahoo ! com>
Date:       2010-03-26 2:17:36
Message-ID: 485915.34232.qm () web31801 ! mail ! mud ! yahoo ! com
[Download RAW message or body]

----- Original Message ----

> From: Lemuel Moore <lwmoore@us.ibm.com>
> To: sudo-users@sudo.ws
> Sent: Wed, March 24, 2010 11:57:30 AM
> Subject: [sudo-users] Retain SSH_AUTH_SOCK environment variable
> 
> 
> I use PuTTY on my windows workstation with "Allow agent forwarding" set 
> to
> SSH using private/public to my AIX system.
> I then issue "env | grep 
> SSH_AUTH_SOCK" and receive:
> SSH_AUTH_SOCK=/tmp/ssh-xxxxxxxxxx/agent.11112222" 
> I then issue "sudo su - usertest".


'su -' is clearing that env variable, not sudo. If you have a reasonably modern \
version of sudo, just use 'sudo -i'. 


      


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic