fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] sudo to non-root account


From: allan bailey
Subject: Re: [Fab-user] sudo to non-root account
Date: Tue, 13 Jan 2009 07:23:40 -0800
User-agent: Thunderbird 2.0.0.18 (Macintosh/20081105)

sudo(cmd, user="user")  

run help for the sudo command like so:

fab help:op=sudo


-allan


Dan Fairs wrote:
> Hi,
>
> Is it possible to specify a user id for the sudo() command? On our app
> server, files are actually owned by an app-specific account, not root
> - so for deployment, it would be handy to be able to specify the user
> to sudo 'to'.
>
> If not, I guess I can work around by doing a big fat 'chown' at the
> end of the process, but it's not ideal. (I'd probably try to fork and
> fix the github master).
>
> Cheers,
> Dan
>
> -- 
> Dan Fairs <address@hidden> | http://www.fezconsulting.com/
>
>
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/fab-user





reply via email to

[Prev in Thread] Current Thread [Next in Thread]