[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] scripts by email
- Subject: RE: [cobalt-users] scripts by email
- From: "Neil J. Kemp" <neil@xxxxxxxxxx>
- Date: Tue Mar 7 13:20:40 2000
It's not exactly like. The RaQ2 (Only one I know for sure) uses smrsh so
that if the script isn't in the "allowed" then it won't be run from e-mail.
To get a script in the "allowed" list telnet in as root and change directory
to:
cd /usr/adm/sm.bin/
Here is a list of symbolic links to the real files on the disk. To add
another one type:
ln -s /home/sites/site23/web/cgi-bin/filename.cgi
or whatever path it is to the filename in question. Then they can run this
script via e-mail .forward files etc. Can be called anything too. However
there's probably some good security implications you're wiping over here (as
in the user could change the file at anytime and you wouldn't know!) so what
you could do is review the script by the person and make sure you're happy
with it and instead of making a link, COPY the file to that directory.
cp /home/sites/site23/web/cgi-bin/filename.cgi /usr/adm/sm.bin/filename.cgi
chown/chgrp the file accordingly. And although they'd run it in EXACTLY the
same way as the top method, if they change their file it won't change the
program, because smrsh only runs the one in the adm directory :-)
(Incidently on Redhat systems this directory is /etc/smrsh)
--Neil
-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Steven Glogger
Sent: 07 March 2000 12:35
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: [cobalt-users] scripts by email
i'm trying to run scripts, if an email is coming...
but if the scripts has another name than 'vacation.pl' he told me, that this
script doesn't has the right to run...
where can i define the names of the scripts for sendmail?
i searched the hole sendmail.cf file and so on...
any idea?
greetings
steven
_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users