I have forward-ported "Malmström, Dennis" <[EMAIL PROTECTED]>
submission for having an executable shell command sms-service group.

This introduces the ability to have this in kannel.conf:

  group = sms-service
  keyword = uptime
  exec = "uptime"

as an example.

Please be aware that there is almost no security considerations for
this type. Which means everything that executes from smsbox has full
priviliges of the smsbox current process user. So beware to who you
allow usage of this service type.

I'll addopt security related things into it ASAP. This will include
further directives like:

  group = sms-service
  keyword = uptime
  exec = "uptime"
  user = nobody
  group = nogroup
  timeout = 2

to allow execution under different users and timeout the shell command
if we take to long.

Any volounteers who would contribute here are highly welcome. Thanks
to Malmström, Dennis for the 1.0.3 patch that has been used.

Stipe

[EMAIL PROTECTED]
-------------------------------------------------------------------
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are

Reply via email to