Sorry Dan,
I reread the post and you're right ..... he should be able to do a whereis
smrsh to find it's location.
-Tony
> If you look at the middle of Wayne's message, he states that he already
has
> a link to wrapper in /etc/smrsh, and even gives the attributes and
ownership
> information. The unknown for me is Mandrake linux. It seems every
version
> or flavor of unix puts the smrsh directory in a different place. What we
> need is for someone else running Mandrake to verify this specific location
> for Wayne.
>
> Dan Liston
>
> "Anthony M. Abate" wrote:
> >
> > You need to create a soft link from the wrapper to /etc/smrsh it will
work
> > then
> >
> Layne Meier wrote:
> >
> > Wayne -
> >
> > In order to get the wrapper used by majordomo to work with the
sendmail restricted shell
> > (SMRSH), you need to create a symbolic link (ln -s) of the wrapper
program into the
> > /var/adm/sm.bin directory (if you are running under Sun Solaris).
> >
> > root:#cd /majordomodirectory
> > root:#ln -s wrapper /var/adm/sm.bin/wrapper
> >
> > After you have created the symbolic link, smrsh will then be able
to recognize the wrapper
> > utility as a valid application.
> >
> > If you've already done this and it still isn't working, it is
perhaps a bit above my help.
> >
> > Best regards,
> > Layne Meier
> > Network/Internet Analyst
> > Atlanta Newspapers
> >
> > wayne.pascoe@realtime.co.uk wrote:
> >
> > > Hi all,
> > >
> > > I have read the section in the FAQ and done as suggested, but I am
still
> > > getting this error:
> > >
> > > ----- The following addresses had permanent fatal errors -----
> > > "|/etc/smrsh/wrapper majordomo"
> > > (reason: service unavailable)
> > > (expanded from: <majordomo@xxx.xxx.co.uk>)
> > >
> > > ----- Transcript of session follows -----
> > > Message delivered to mailing list <majordomo@xxx.xxx.co.uk>
> > > smrsh: wrapper not available for sendmail programs
> > > 554 5.0.0 "|/etc/smrsh/wrapper majordomo"... Service unavailable
> > >
> > > In /etc/smrsh I have
> > >
> > > [root@mybox smrsh]# ls -la
> > > total 8
> > > drwxr-xr-x 2 root root 4096 Jul 4 12:50 ./
> > > drwx--x--x 34 root adm 4096 Jul 4 12:53 ../
> > > lrwxrwxrwx 1 root root 28 Jul 4 12:50 wrapper ->
/usr/local/majordomo/wrapper*
> > >
> > > In my aliases file, I have tried
> > > |/usr/local/majordomo/wrapper majordomo
> > > and
> > > |/etc/smrsh/wrapper majordomo
> > >
> > > The files in /usr/local/majordomo are owned by majordomo and group
> > > majordomo. In /etc/sendmail.cf I have a line
> > > Tmajordomo
> > >
> > > I have stopped and restarted sendmail after each of these steps.
> > >
> > > I also tried
> > > T1004
> > > which is the uid for majordomo
> > >
> > > The permissions on files in /usr/local/majordomo are
> > > 750 majordomo:majordomo
> > > except for wrapper which is
> > > 755 root:majordomo
> > >
> > > Any advice on how to fix this would be much appreciated!
> > >
> > > Thanks,
> > >
> > > --
> > > Wayne Pascoe <wayne.pascoe@realtime.co.uk>
>
Follow-Ups:
References:
|
|