The correct syntax is: usera ALL=(root) SETENV:/export/home/usera/agent12c/sbin/nmosudo * You don't mention what version of sudo you are running, but SETENV has been supported since version 1.6.9 so I'd be surprised if that were an issue. - todd