Skip to content Skip to sidebar Skip to footer

Fabric And Sudo As Another User

Using Fabric to spin up a server, everything works great, except for my attempt to start postgresql. sudo('/usr/lib/postgresql/9.1/bin/pg_ctl -D /mnt/ebs/postgresql/data -l /mnt/e

Solution 1:

Here's a section in the docs for your use case. It's related not to the sudo, but to the pty settings of default calls. More info in the FAQ.


Post a Comment for "Fabric And Sudo As Another User"