#
# I am attempting to install majordomo on a mmdf system (I have
# never seen mmdf before, and it is weird... anyhoo) and I was wondering
# really how wrapper worked. Considering one of the aliases is to call
# wrapper on majordomo, I tried doing that myself:
# mc% wrapper majordomo
# mc% wrapper majordomo
# majordomo: No such file or directory
# mc% wrapper
# USAGE: wrapper program [<arg> ...]
# mc% wrapper /u/spool/mmdf/majordomo/bin/majordomo
# wrapper: error: insecure usage
#
# (that first line is a duplicate, shouldnt be there)
#
# is that normal? Would it not do that if called by the mailer? or...?
#
# Thanks
# Micah
Did you set the W_BIN variable in the Makefile to tell "wrapper" where
to look for "majordomo" and the other programs?
As a security measure, since it's running set-uid and set-gid,
"wrapper" will ONLY look for programs in that directory; not in the
current directory, and not in the normal PATH. Also, as a security
measure, it won't run anything with a "/" in it. This is all to keep
someone from being able to run random commands with the permissions
that "wrapper" grants.
-Brent
--
Brent Chapman Great Circle Associates
Brent@GreatCircle.COM 1057 West Dana Street
+1 415 962 0841 Mountain View, CA 94041
|
|