Using relative path in sudoers

mlh at mlh at
Wed May 14 22:00:27 EDT 2003

On Tue, 13 May 2003 22:21:05 -0700 (PDT)
kumar parab <kumar.parab at> wrote:
> I have recently installed and configured sudo on a Solaris 8 box. Its been working fine but my users require to execute one command using relative path.
> e.g. ./cmd1
> Sudoers is erroring with syntax. I dont know how to achieve this. 

You have to give absolute pathnames in the sudoers.

Todd, another one for the wishlist?  Syntax error is not
very informative for this very common newbie error.

I know I've done this a few times early on my use of sudo
and was completely baffled.


More information about the sudo-users mailing list