On 10/02/15 17:32, René J.V. Bertin wrote:
On Tuesday February 10 2015 17:10:37 Chris Jones wrote:
1) at least is solvable as you can configure your sudoers list to allow
your main user to run your port command (and that command only) through
sudoers without requiring a password.
I know that, but for some reason I've never managed to get that to work
following just the instructions in the file. I'm sure I must have been doing
something wrong, but in practice it was just as easy, for individual commands,
to make a wrapper that prepends sudo.
works fine for me...
You are using visudo yes ? Then all you want is
chris ALL=(ALL) NOPASSWD: /opt/local/bin/port
replacing chris with your username (and the path to port if it differs).
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev