In sudo 1.7.0 and higher you would do it like this: foo ALL=(ALL) NOPASSWD: /usr/local/bin/bash -c /usr/local/bin/bar and sudo will notice that you passed an argument to the -i flag and add the -c itself. There's no good way to do this for versions prior to 1.7.0. - todd