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

Re: sudo verses su in delete-company-database.sh

On Mon, Oct 8, 2012 at 6:49 PM, Berend Tober <..hidden..> wrote:
Me personally I cannot use the delete-company-database.sh as supplied because my postgres user account is set up as not able to login.

What I have to do is use sudo prefixed in each of the four places su is used (see attached svn diff), since I have sudo su privileges configured for my personal, non-root user account.

Would this be considered an advisable approach more generally enough to warrant applying that patch to trunk?

Very likely.  Also if there are no objections here, sudo seems common on *nix enough I think we could probably apply it to branches/1.3 as well.

Best Wishes,
Chris Travers

Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
Ledger-smb-devel mailing list