Great Circle Associates Majordomo-Users
(January 2000)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Insufficient permission
From: Mike Oliver <Mike . Oliver @ Eng . Sun . COM>
Date: Tue, 4 Jan 2000 15:36:57 -0800 (PST)
To: dkr @ freerealtime . com
Cc: majordomo-users @ GreatCircle . COM
Reply-to: Mike Oliver <Mike . Oliver @ Eng . Sun . COM>

Hello Doug,

>/opt/home/majordomo/majordomo-1.94.4/wrapper: error: insecure usage
>550 "|/opt/home/majordomo/majordomo-1.94.4/wrapper
>/opt/home/majordomo/majordomo-1.94.4/resend
>@/opt/home/majordomo/majordomo-1.94.4/lists/frt.resend"... Insufficient
>permission
>
>Some file permissions are:
>-rwxr-xr-x   1 majordomo daemon     64257 Sep 24 12:38 majordomo
>-rwsr-xr-x   1 root      daemon      8700 Sep 24 12:38 wrapper
>-rw-r--r--   1 root      other          0 Oct 10 08:34 wrapper.list
>-rwxr-xr-x   1 majordomo daemon     29526 Sep 24 12:38 resend
>
>I guess my question is why is the wrapper complaining about
>"insecure usage"?

'wrapper' wants only the filename of the Majordomo command that you
want it to execute ('resend' in this case).  It builds the complete
path of the Majordomo command by prepending the compiled-in home
directory path of the Majordomo user.  If the command name you give is
not just a filename (ie it already contains a '/') then 'wrapper' exits
with the "insecure usage" diagnostic you're seeing.

Change your sendmail alias to:

  "|/opt/home/majordomo/majordomo-1.94.4/wrapper resend @/opt/home/majordomo/majordomo-1.94.4/lists/frt.resend"
    
then run 'newaliases' and give it another try.

Mike.
-- 
mike.oliver@eng.sun.com



Follow-Ups:
Indexed By Date Previous: Insufficient permission
From: Doug Robinson <dkr@freerealtime.com>
Next: Re: Need patch to strip message_footers from archive
From: "George R. Kasica" <georgek@netwrx1.com>
Indexed By Thread Previous: Insufficient permission
From: Doug Robinson <dkr@freerealtime.com>
Next: Unknown mailer error 2 Help
From: "Chris McEwen" <chris@nwstamps.com>

Google
 
Search Internet Search www.greatcircle.com