Hello again.
My problem was solved with a simple:
def sup(command)
run "echo #{command} | super xyz"
end
- Magnar
On Dec 11, 1:41 pm, Magnar <[EMAIL PROTECTED]> wrote:
> Hello.
>
> On my current project, deployment is being done manually. I've been
> pushing for us to start using Capistrano. I started to make a simple
> Proof of Concept. Now I've encountered a problem that I'm unable to
> find an answer to in earlier posts here.
>
> For staging we're using three hosted application servers that is
> accessed through a gateway. The problem is that we don't have real
> sudo-access to these app-servers.
>
> Instead we're logging in as the super user xyz by writing "super xyz".
> This shows a new prompt with the necessary access. It turns out that
> this is a blocking operation. Capistrano waits indefinitely for the
> command to finish.
>
> I'm hoping that someone might have encountered something along the
> same lines, and can give me some pointers on how to solve this
> problem. I realize this may be a way too unusual setup to use
> Capistrano, in which case that answer would be appreciated to.
>
> Thanks for any help,
>
> Magnar
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---