You can use env.shell = '/bin/bash' or what ever you want to enable this execution.
Rahul On Wed, Nov 14, 2012 at 7:18 PM, Tim T. <tim.timmer...@gmail.com> wrote: > Hi, > > Just started using fabric.. Finding it very easy and intuitive so far. > > However, I'm getting a bit stuck on the following: > > I want to install software remotely, using some python scripting. I can > create a user and allow all commands through sudo. However, I don't want to > leave this account as an available login for others. > > Setting the shell to /sbin/nologin stops the sudo command from executing. > Using /bin/false and /bin/true also don't work. > > Any suggestions ? This is on RHEL6 by the way. > > Thanks, > > TimT. > > > _______________________________________________ > Fab-user mailing list > Fab-user@nongnu.org > https://lists.nongnu.org/mailman/listinfo/fab-user > > -- - Rahul
_______________________________________________ Fab-user mailing list Fab-user@nongnu.org https://lists.nongnu.org/mailman/listinfo/fab-user