No Mike, but I'd love to know, if you come across any evidence, I'd really appreciated if you shared it on here; we've been saying for a long time that using sudo during deployment encourages insecure/unsafe setups (and of course, means that we're making assumptions that don't apply to a /lot/ of people on shared hosting.. so this may yet change)
On Sat, Oct 31, 2009 at 9:31 PM, Lee Hambley <lee.hamb...@gmail.com> wrote:
> No Mike, but I'd love to know, if you come across any evidence, I'd really
> appreciated if you shared it on here; we've been saying for a long time that
> using sudo during deployment encourages insecure/unsafe setups (and of
> course, means that we're making assumptions that don't apply to a /lot/ of
> people on shared hosting.. so this may yet change)
> Has something changed in Capistrano that broke entering my sudo password?
> I'm using capistrano-2.5.9
> - Mike
> On Sat, Oct 31, 2009 at 9:31 PM, Lee Hambley <lee.hamb...@gmail.com>wrote:
>> No Mike, but I'd love to know, if you come across any evidence, I'd really
>> appreciated if you shared it on here; we've been saying for a long time that
>> using sudo during deployment encourages insecure/unsafe setups (and of
>> course, means that we're making assumptions that don't apply to a /lot/ of
>> people on shared hosting.. so this may yet change)
On Sun, Nov 1, 2009 at 12:21 AM, Lee Hambley <lee.hamb...@gmail.com> wrote:
> Nothing changed Mike, but passworded sudo access isn't supported
> officially, because it's so damned difficult to get right across multiple
> platforms.
>> Has something changed in Capistrano that broke entering my sudo password?
>> I'm using capistrano-2.5.9
>> - Mike
>> On Sat, Oct 31, 2009 at 9:31 PM, Lee Hambley <lee.hamb...@gmail.com>wrote:
>>> No Mike, but I'd love to know, if you come across any evidence, I'd
>>> really appreciated if you shared it on here; we've been saying for a long
>>> time that using sudo during deployment encourages insecure/unsafe setups
>>> (and of course, means that we're making assumptions that don't apply to a
>>> /lot/ of people on shared hosting.. so this may yet change)
On Sun, Nov 1, 2009 at 12:21 AM, Lee Hambley <lee.hamb...@gmail.com> wrote: > Nothing changed Mike, but passworded sudo access isn't supported > officially, because it's so damned difficult to get right across multiple > platforms.
I thought we solved it a while ago by using #{sudo} in commands:
run "#{sudo} hostname"
instead of:
run "sudo hostname"
What platform does it not work on?
This is actually why my test task failed on the server from 2006. I was tired and forgot to use #{sudo}. :-)
> On Sun, Nov 1, 2009 at 12:21 AM, Lee Hambley <lee.hamb...@gmail.com> wrote:
> > Nothing changed Mike, but passworded sudo access isn't supported
> > officially, because it's so damned difficult to get right across multiple
> > platforms.
> > sudo is necessary in some circumstances (such as creating a user or
> >> installing a package)
> >> I've been having a look into this and found that the password prompt for
> >> sudo doesn't seem to be working on a host I've been using since 2006.
> >> Has something changed in Capistrano that broke entering my sudo password?
> >> I'm using capistrano-2.5.9
> >> - Mike
> >> On Sat, Oct 31, 2009 at 9:31 PM, Lee Hambley <lee.hamb...@gmail.com>wrote:
> >>> No Mike, but I'd love to know, if you come across any evidence, I'd
> >>> really appreciated if you shared it on here; we've been saying for a long
> >>> time that using sudo during deployment encourages insecure/unsafe setups
> >>> (and of course, means that we're making assumptions that don't apply to a
> >>> /lot/ of people on shared hosting.. so this may yet change)