On 31/01/12 11:50 PM, Carlton Gibson wrote:
It sounds like you want to run commands that require elevated privileges
without either supplying a password at runtime or hardcoding it or
editing the sudoers file to not require a password.

AFAIK, can't be done. (This has very little to do with Fabric though.)


An work around for these limitiations might be to setup specific commands in the sudoers file that are permitted with NOPASSWORD. But perhaps allowing a user to call 'rm' and 'tar' as with sudo and NOPASSWORD is not satisfactory. Perhaps you might want to write a script that does exactly what is permitted to be done, and allow NOPASSWORD running of that specific script.

Cheers,
Geoff

_______________________________________________
Fab-user mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to