Re: [capistrano-mailing-list] Run a task as root user

2016-06-10 Thread Lee Hambley
Assuming you use v3+ https://github.com/capistrano/sshkit/blob/master/EXAMPLES.md#run-a-command-in-a-different-directory-as-a-different-user Lee Hambley http://lee.hambley.name/ +49 (0) 170 298 5667 On 10 June 2016 at 11:33, Vidhan Agarwal wrote: > Hi, I am a sudoer called

[capistrano-mailing-list] Run a task as root user

2016-06-10 Thread Vidhan Agarwal
Hi, I am a sudoer called 'ubuntu' and I want to carry out the following operations on a remote server:- $ sudo su # NR_INSTALL_PHPLIST=/opt/lappstack-5.5.25-0/php/bin # export NR_INSTALL_PHPLIST # newrelic-install install Please guide me how do I frame my 'execute' commands. Vidhan