Re: [Fab-user] Changing user with sudo and running commands as new user
From:
Rahul Menon
Subject:
Re: [Fab-user] Changing user with sudo and running commands as new user
Date:
Mon, 22 Oct 2012 09:58:26 +0530
Herman,
I had a similar situation where i had to use it like that. I ended up having a similar problem but my usecase was not extensive like yours. I ended up using something like "sudo ( 'su www -c ls')". I hope someone out there has a better answer for you.