Can RT execute operating-system commands?

Hi,

is it possible to use RT and approvals in a
hosting-provisioning-scenario, where after an order is approved, the
command to start the provisioning is triggered?

cheers,
Rainer

perldoc system
perldoc perlop "quote-like operators"On 3/31/06, Rainer Duffner rainer@ultra-secure.de wrote:

Hi,

is it possible to use RT and approvals in a
hosting-provisioning-scenario, where after an order is approved, the
command to start the provisioning is triggered?

cheers,
Rainer


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html

Best regards, Ruslan.

oops
perldoc -f systemOn 3/31/06, Ruslan Zakirov ruslan.zakirov@gmail.com wrote:

perldoc system
perldoc perlop “quote-like operators”

On 3/31/06, Rainer Duffner rainer@ultra-secure.de wrote:

Hi,

is it possible to use RT and approvals in a
hosting-provisioning-scenario, where after an order is approved, the
command to start the provisioning is triggered?

cheers,
Rainer


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html


Best regards, Ruslan.

Best regards, Ruslan.

is it possible to use RT and approvals in a
hosting-provisioning-scenario, where after an order is approved, the
command to start the provisioning is triggered?

I am fairly new to RT, but was able to do a system() call in a custom scrip
action, so the answer appears to be yes, RT can execute OS commands via
scrip interface.

You should be able to configure RT to do as you request, but not sure how
wise such would be. If nothing else, the provisioning command would be
run as the uid running the web server process, which might either mean
reducing privs needed to run the provisioning command or upping privs of
web server process, and that may have adverse security considerations.

Tom Payerle
Dept of Physics payerle@physics.umd.edu
University of Maryland (301) 405-6973
College Park, MD 20742-4111 Fax: (301) 314-9525

Tom Payerle
Dept of Physics payerle@physics.umd.edu
University of Maryland (301) 405-6973
College Park, MD 20742-4111 Fax: (301) 314-9525

is it possible to use RT and approvals in a
hosting-provisioning-scenario, where after an order is approved, the
command to start the provisioning is triggered?

I am fairly new to RT, but was able to do a system() call in a
custom scrip
action, so the answer appears to be yes, RT can execute OS commands
via
scrip interface.

You should be able to configure RT to do as you request, but not
sure how
wise such would be. If nothing else, the provisioning command
would be
run as the uid running the web server process, which might either mean
reducing privs needed to run the provisioning command or upping
privs of
web server process, and that may have adverse security considerations.

Well, the provisioning is done via a webinterface already.
So I guess it doesn’t make a lot of difference - I only would have a
real “workflow” behind it.

Thanks all.

cheers,
Rainer

Hi

I’m running rt 3.4.2. If I look at my list of open tickets which Iown,
there are 20 in the RT web interface.

However if I run the following command:

/opt/rt3/bin/rt list “owner = ‘pete’ AND ( status = ‘open’ OR status
= ‘new’ )”

I only get 11.

Any ideas why the discrepancy ?

Many thanks,
Pete

Hi

I’m running rt 3.4.2. If I look at my list of open tickets which I own,
there are 20 in the RT web interface.

However if I run the following command:

/opt/rt3/bin/rt list “owner = ‘pete’ AND ( status = ‘open’ OR status
= ‘new’ )”

I only get 11.

Any ideas why the discrepancy ?

Many thanks,
Pete

PS: Resent this to the list as I must have hit reply last time, so it
appears as a response to an unrelated thread. Apologies for that. :frowning: