[rt-users] Custom Fields

2010-07-30 Thread Sysadmin
Is there a way to apply custom fields to ticket bound for a specific 
queue i. e. ticket created for billing have one set of custom fields and 
tickets created for tech support have a different set of custom fields?



Thank you,

David
System Administrator
Rural Network Services, Inc.



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


[rt-users] Radius Aurhentication

2010-07-30 Thread Sysadmin
Is there a way to apply custom fields to ticket bound for a specific 
queue i. e. ticket created for billing have one set of custom fields and 
tickets created for tech support have a different set of custom fields?



Thank you,

David
System Administrator
Rural Network Services, Inc.



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


[rt-users] Radius Aurhentication

2010-07-30 Thread Sysadmin
Is there a way to separate Staff from Customers. We have a Helpdesk, 
whereby Support Staff are issuing tickets for a group of Customers. My  
two questions are:


1- Can Support Staff issue a ticket for the customer? what is the best 
way to do this?


2- Can we utilize the radius server in our mail server to generate that 
customer info? what is the best way to do this?



Thank you,

David
System Administrator
Rural Network Services, Inc.


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

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

[rt-users] RT::Authen::ExternalAuth

2010-07-30 Thread testwreq wreq
Has anyone used RT::Authen::ExternalAuth for integrating with Active
Directory? I am getting errors on installing RT::Authen::ExternalAuth


I ran the following command ( cpan -i RT::Authen::ExternalAuth ); During
installation, it asked for path to your RT.pm, which I entered as
/data/rt3/lib



Soon after, it failed with the following error.



No 'Makefile' created  ZORDRAK/RT-Authen-ExternalAuth-0.08.tar.gz

  /usr/bin/perl Makefile.PL -- NOT OK

Running make test

  Make had some problems, won't test

Running make install

  Make had some problems, won't install



Any ideas?

Thanks, vm

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

Re: [rt-users] Approvals not working - and why won't Quick Search work?

2010-07-30 Thread Michael James
Thanks, Kevin. Okay, I now see that approval != ticket and that's why the quick 
search wouldn't work. Still can't see the approvals on the Approval page, 
however. I will enable __Approvals and see about getting things to work from 
there.

Mike

>>> Kevin Falcone  7/30/2010 12:48 PM >>>
On Fri, Jul 30, 2010 at 11:44:15AM -0400, Michael James wrote:
> It still seems to me that a straightforward SQL search should work... no 
> matter how the ticket was created, although my goal is to get approvals 
> working. I will enable the default queue and work with that for now.

you really should try to work within __Approvals, especially if your
Template is going to create Type => 'approval'
Tickets have a different Type
I suggest that in your select * from rt3.Tickets you also examine the
Type column.  Normal ticket searches in the RT web ui are never going
to show non-ticket tickets

-kevin

> Mike
> 
> >>> "Michael James"  7/29/2010 4:43 PM >>>
> I queried the rt3 MySQL database to see what I could see vis-a-vis the 
> approval process. In points 1, 2, 3, and 4, I'm building a case to prove I'm 
> not crazy. If you can explain the results of Quick search in #5, I would be 
> highly appreciative!
> 
> 1. SELECT * FROM `rt3`.`Queues` where Name = 'ChangeApproval'
> 1 row fetched: 22, 'ChangeApproval', 'Queue to hold templates for Change Mgmt 
> approval', '', '', 0, 0, 0, 28, '2007-01-04 19:42:12', 28, '2007-01-04 
> 19:42:12', 0
> 
> 2. SELECT * FROM `rt3`.`Tickets` where Queue = '22'
> 19 rows fetched. Here are some columns of data. Sorry I can't show all. 
> 
> idEffectiveId Status
> 1157  1157new
> 2849  2849new
> 7458  7458new
> 7461  7461new
> 7464  7464new
> 7466  7466new
> 820   820 resolved
> 822   822 resolved
> 824   824 resolved
> 2657  2657resolved
> 2851  2851resolved
> 2876  2876resolved
> 2878  2878resolved
> 2880  2880resolved
> 2882  2882resolved
> 2884  2884resolved
> 2886  2886resolved
> 2888  2888resolved
> 2917  2917resolved
> 
> 
> 3. Now, note the headers below for ticket #7461, which confirms Queue = 
> ChangeApproval. 
> 
> Wed Jul 28 13:59:08 2010: Request 7461 was acted upon.
> Transaction: Ticket created by RT_System
>Queue: ChangeApproval
>  Subject: Approve Change Request for another test
>Owner: Nobody
>   Requestors: 
>   Status: new
> Ticket  http://tracker.stonebridgebank.com/rt/Ticket/Display.html?id=7461 >
> 
> Someone has created a Change Request.  Please review.
> 
> 4. SELECT * FROM `rt3`.`Tickets` where id = '7461'
> 
> idEffectiveId Queue   Type
> 7461  746122  approval
> 
> 5. From my RT at a Glance page, when I click on the quick search for 
> ChangeApproval queue - returns 0 hits. 
> 
> http://tracker.stonebridgebank.com/rt/Search/Results.html?Query=Queue = 
> 'ChangeApproval' AND (Status = 'new' OR Status = 'open' OR Status = 'stalled')
> 
> Why don't any of the approvals with status=new show in the results screen? 
> Any ideas what is going on here?
> 
> Mike
> 
> 
> 
> >>> "Michael James"  7/28/2010 4:57 PM >>>
> It worked on 3.4.6, which is the version we were using before 3.8.8.
> 
> >>> "Foggi, Nicola"  7/28/2010 4:48 PM >>>
> 
> 
> I was never able to get a queue working with approvals other than the default 
> __Approvals queue, if you use that does it work?
> 
> Nicola
> 
> -Original Message-
> From: rt-users-boun...@lists.bestpractical.com on behalf of Michael James
> Sent: Wed 7/28/2010 3:38 PM
> To: RT Users  Subject: [rt-users] Approvals not working
> 
> Hi, I used example code on the wiki to create a PO-Request type approval in 
> RT3.8.8 http://wiki.bestpractical.com/view/ApprovalCreation The process 
> creates new ticket(s) but isn't quite right yet.
> 
> I created 2 queues: ChangeRequest and ChangeApproval and both are enabled.
> 
> ChangeRequest queue has 1 scrip:
> 
> On Create, Create Tickets with template CreateApproval, stage 
> TransactionCreate. with no User defined conditions.
> 
> The CreateApproval template is pretty much cut-n-paste from the wiki:
> 
> ===Create-Ticket: poreq
> Subject: Approve Change Request for {$Tickets{'TOP'}->Subject}
> Depended-On-By: TOP
> Queue: ChangeApproval
> Type: approval
> Owner: username-of-owner   #note this is so that notifications work properly
> Content: Someone has created a Change Request.  Please review.
> ENDOFCONTENT
> 
> For the ChangeApproval queue, I copied/pasted all of the scrips and templates 
> from the default __Approvals queue. 
> 
> When I create a new ticket in the ChangeRequest queue, a 2nd ticket is 
> created and notifications are sent to the watchers that a new ticket is 
> awaiting approval. However, the approvals don't show up in My Approvals. Nor 
> do they show up in the ChangeApproval queue when 

Re: [rt-users] Warning - perl idiot here

2010-07-30 Thread Michael James
Agreed, I don't get those errors on 3.8.7, but I do see them in 3.8.8. I
have both versions running for different departments.

RT 3.8.8
SLES 10 SP3
tracker:~ # perldoc -V
Perldoc v3.14, under perl v5.008008 for linux

Thanks again.

>>> "Robert Grasso"  7/30/2010 12:40 PM
>>>

> tracker:~ # perldoc /opt/rt3/etc/RT_Config.pm
> /opt/rt3/etc/RT_Config.pm:443: Unmatched =back
> /opt/rt3/etc/RT_Config.pm:459: Unmatched =back
> /opt/rt3/etc/RT_Config.pm:471: Unmatched =back

I don't get these errors : we must not be using the same versions :

I am running RT v3.8.7 on CentOS 5.5 and

[r...@vicen02 ~]# perldoc -V
Perldoc v3.14, under perl v5.008008 for linux

> 
> Again, thanks!
> 
You are welcome !

---
Robert GRASSO 
System Engineer

CEDRAT
15, Chemin de Malacher - Inovallée - 38246 MEYLAN Cedex - FRANCE 
Tel: +33 (0)4 76 90 50 45 Fax: +33 (0)4 76 90 16 09
mailto:robert.gra...@cedrat.com 
---
Support service   : mailto:supp...@cedrat.com 
Commercial service : mailto:ced...@cedrat.com 
Web site  : http://www.cedrat.com 




The information in this message may be proprietary and/or confidential,
and protected from disclosure. If the reader of this message is not the
intended recipient, or an employee or agent responsible for delivering
this message to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this communication in error, please
notify Stonebridge Bank immediately by replying to this message and
deleting it from your computer.

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

[rt-users] Add a user to a group via RT CLI?

2010-07-30 Thread Justin Hayes
Is it possible to add a user to a group via the CLI?

I can find the command to create a new user, and I can create a new group. But 
how can I put one in the other?

Cheers,

Justin

-
Justin Hayes
OpenBet Support Manager
justin.ha...@openbet.com


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


Re: [rt-users] Approvals not working - and why won't Quick Search work?

2010-07-30 Thread Kevin Falcone
On Fri, Jul 30, 2010 at 11:44:15AM -0400, Michael James wrote:
> It still seems to me that a straightforward SQL search should work... no 
> matter how the ticket was created, although my goal is to get approvals 
> working. I will enable the default queue and work with that for now.

you really should try to work within __Approvals, especially if your
Template is going to create Type => 'approval'
Tickets have a different Type
I suggest that in your select * from rt3.Tickets you also examine the
Type column.  Normal ticket searches in the RT web ui are never going
to show non-ticket tickets

-kevin

> Mike
> 
> >>> "Michael James"  7/29/2010 4:43 PM >>>
> I queried the rt3 MySQL database to see what I could see vis-a-vis the 
> approval process. In points 1, 2, 3, and 4, I'm building a case to prove I'm 
> not crazy. If you can explain the results of Quick search in #5, I would be 
> highly appreciative!
> 
> 1. SELECT * FROM `rt3`.`Queues` where Name = 'ChangeApproval'
> 1 row fetched: 22, 'ChangeApproval', 'Queue to hold templates for Change Mgmt 
> approval', '', '', 0, 0, 0, 28, '2007-01-04 19:42:12', 28, '2007-01-04 
> 19:42:12', 0
> 
> 2. SELECT * FROM `rt3`.`Tickets` where Queue = '22'
> 19 rows fetched. Here are some columns of data. Sorry I can't show all. 
> 
> idEffectiveId Status
> 1157  1157new
> 2849  2849new
> 7458  7458new
> 7461  7461new
> 7464  7464new
> 7466  7466new
> 820   820 resolved
> 822   822 resolved
> 824   824 resolved
> 2657  2657resolved
> 2851  2851resolved
> 2876  2876resolved
> 2878  2878resolved
> 2880  2880resolved
> 2882  2882resolved
> 2884  2884resolved
> 2886  2886resolved
> 2888  2888resolved
> 2917  2917resolved
> 
> 
> 3. Now, note the headers below for ticket #7461, which confirms Queue = 
> ChangeApproval. 
> 
> Wed Jul 28 13:59:08 2010: Request 7461 was acted upon.
> Transaction: Ticket created by RT_System
>Queue: ChangeApproval
>  Subject: Approve Change Request for another test
>Owner: Nobody
>   Requestors: 
>   Status: new
> Ticket  http://tracker.stonebridgebank.com/rt/Ticket/Display.html?id=7461 >
> 
> Someone has created a Change Request.  Please review.
> 
> 4. SELECT * FROM `rt3`.`Tickets` where id = '7461'
> 
> idEffectiveId Queue   Type
> 7461  746122  approval
> 
> 5. From my RT at a Glance page, when I click on the quick search for 
> ChangeApproval queue - returns 0 hits. 
> 
> http://tracker.stonebridgebank.com/rt/Search/Results.html?Query=Queue = 
> 'ChangeApproval' AND (Status = 'new' OR Status = 'open' OR Status = 'stalled')
> 
> Why don't any of the approvals with status=new show in the results screen? 
> Any ideas what is going on here?
> 
> Mike
> 
> 
> 
> >>> "Michael James"  7/28/2010 4:57 PM >>>
> It worked on 3.4.6, which is the version we were using before 3.8.8.
> 
> >>> "Foggi, Nicola"  7/28/2010 4:48 PM >>>
> 
> 
> I was never able to get a queue working with approvals other than the default 
> __Approvals queue, if you use that does it work?
> 
> Nicola
> 
> -Original Message-
> From: rt-users-boun...@lists.bestpractical.com on behalf of Michael James
> Sent: Wed 7/28/2010 3:38 PM
> To: RT Users  Subject: [rt-users] Approvals not working
> 
> Hi, I used example code on the wiki to create a PO-Request type approval in 
> RT3.8.8 http://wiki.bestpractical.com/view/ApprovalCreation The process 
> creates new ticket(s) but isn't quite right yet.
> 
> I created 2 queues: ChangeRequest and ChangeApproval and both are enabled.
> 
> ChangeRequest queue has 1 scrip:
> 
> On Create, Create Tickets with template CreateApproval, stage 
> TransactionCreate. with no User defined conditions.
> 
> The CreateApproval template is pretty much cut-n-paste from the wiki:
> 
> ===Create-Ticket: poreq
> Subject: Approve Change Request for {$Tickets{'TOP'}->Subject}
> Depended-On-By: TOP
> Queue: ChangeApproval
> Type: approval
> Owner: username-of-owner   #note this is so that notifications work properly
> Content: Someone has created a Change Request.  Please review.
> ENDOFCONTENT
> 
> For the ChangeApproval queue, I copied/pasted all of the scrips and templates 
> from the default __Approvals queue. 
> 
> When I create a new ticket in the ChangeRequest queue, a 2nd ticket is 
> created and notifications are sent to the watchers that a new ticket is 
> awaiting approval. However, the approvals don't show up in My Approvals. Nor 
> do they show up in the ChangeApproval queue when I search for them. The 
> tickets/approvals exist, I can see them in the Tickets table with 
> type=approval.
> 
> I can't sort out what I've done wrong. Any ideas?
> 
> Mike
> 
> 
> 
> 
> The information in this message may be proprietary and/or confidential, and 
> protected from disclos

Re: [rt-users] Warning - perl idiot here

2010-07-30 Thread Robert Grasso

> tracker:~ # perldoc /opt/rt3/etc/RT_Config.pm
> /opt/rt3/etc/RT_Config.pm:443: Unmatched =back
> /opt/rt3/etc/RT_Config.pm:459: Unmatched =back
> /opt/rt3/etc/RT_Config.pm:471: Unmatched =back

I don't get these errors : we must not be using the same versions :

I am running RT v3.8.7 on CentOS 5.5 and

[r...@vicen02 ~]# perldoc -V
Perldoc v3.14, under perl v5.008008 for linux

> 
> Again, thanks!
> 
You are welcome !

---
Robert GRASSO 
System Engineer

CEDRAT
15, Chemin de Malacher - Inovallée - 38246 MEYLAN Cedex - FRANCE 
Tel: +33 (0)4 76 90 50 45 Fax: +33 (0)4 76 90 16 09
mailto:robert.gra...@cedrat.com
---
Support service   : mailto:supp...@cedrat.com 
Commercial service : mailto:ced...@cedrat.com 
Web site  : http://www.cedrat.com 



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


[rt-users] defunct processes

2010-07-30 Thread Mark Olliver
Hi,

We have RT running up on Amazon however, we keep finding
mason_handler.pmgoes defunct after about a day. We have been running
four processes on
ubuntu 9.04 perl 5.10

Any ideas welcome, a strace gave no clues and nothing is written to the
logs.

Regards

Mark

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

Re: [rt-users] Approvals not working - and why won't Quick Search work?

2010-07-30 Thread Michael James
It still seems to me that a straightforward SQL search should work... no matter 
how the ticket was created, although my goal is to get approvals working. I 
will enable the default queue and work with that for now.

Mike

>>> "Michael James"  7/29/2010 4:43 PM >>>
I queried the rt3 MySQL database to see what I could see vis-a-vis the approval 
process. In points 1, 2, 3, and 4, I'm building a case to prove I'm not crazy. 
If you can explain the results of Quick search in #5, I would be highly 
appreciative!

1. SELECT * FROM `rt3`.`Queues` where Name = 'ChangeApproval'
1 row fetched: 22, 'ChangeApproval', 'Queue to hold templates for Change Mgmt 
approval', '', '', 0, 0, 0, 28, '2007-01-04 19:42:12', 28, '2007-01-04 
19:42:12', 0

2. SELECT * FROM `rt3`.`Tickets` where Queue = '22'
19 rows fetched. Here are some columns of data. Sorry I can't show all. 

id  EffectiveId Status
11571157new
28492849new
74587458new
74617461new
74647464new
74667466new
820 820 resolved
822 822 resolved
824 824 resolved
26572657resolved
28512851resolved
28762876resolved
28782878resolved
28802880resolved
28822882resolved
28842884resolved
28862886resolved
28882888resolved
29172917resolved


3. Now, note the headers below for ticket #7461, which confirms Queue = 
ChangeApproval. 

Wed Jul 28 13:59:08 2010: Request 7461 was acted upon.
Transaction: Ticket created by RT_System
   Queue: ChangeApproval
 Subject: Approve Change Request for another test
   Owner: Nobody
  Requestors: 
  Status: new
Ticket http://tracker.stonebridgebank.com/rt/Ticket/Display.html?id=7461 >

Someone has created a Change Request.  Please review.

4. SELECT * FROM `rt3`.`Tickets` where id = '7461'

id  EffectiveId Queue   Type
7461746122  approval

5. From my RT at a Glance page, when I click on the quick search for 
ChangeApproval queue - returns 0 hits. 

http://tracker.stonebridgebank.com/rt/Search/Results.html?Query=Queue = 
'ChangeApproval' AND (Status = 'new' OR Status = 'open' OR Status = 'stalled')

Why don't any of the approvals with status=new show in the results screen? Any 
ideas what is going on here?

Mike



>>> "Michael James"  7/28/2010 4:57 PM >>>
It worked on 3.4.6, which is the version we were using before 3.8.8.

>>> "Foggi, Nicola"  7/28/2010 4:48 PM >>>


I was never able to get a queue working with approvals other than the default 
__Approvals queue, if you use that does it work?

Nicola

-Original Message-
From: rt-users-boun...@lists.bestpractical.com on behalf of Michael James
Sent: Wed 7/28/2010 3:38 PM
To: RT Users http://wiki.bestpractical.com/view/ApprovalCreation The process creates 
new ticket(s) but isn't quite right yet.

I created 2 queues: ChangeRequest and ChangeApproval and both are enabled.

ChangeRequest queue has 1 scrip:

On Create, Create Tickets with template CreateApproval, stage 
TransactionCreate. with no User defined conditions.

The CreateApproval template is pretty much cut-n-paste from the wiki:

===Create-Ticket: poreq
Subject: Approve Change Request for {$Tickets{'TOP'}->Subject}
Depended-On-By: TOP
Queue: ChangeApproval
Type: approval
Owner: username-of-owner   #note this is so that notifications work properly
Content: Someone has created a Change Request.  Please review.
ENDOFCONTENT

For the ChangeApproval queue, I copied/pasted all of the scrips and templates 
from the default __Approvals queue. 

When I create a new ticket in the ChangeRequest queue, a 2nd ticket is created 
and notifications are sent to the watchers that a new ticket is awaiting 
approval. However, the approvals don't show up in My Approvals. Nor do they 
show up in the ChangeApproval queue when I search for them. The 
tickets/approvals exist, I can see them in the Tickets table with type=approval.

I can't sort out what I've done wrong. Any ideas?

Mike




The information in this message may be proprietary and/or confidential, and 
protected from disclosure. If the reader of this message is not the intended 
recipient, or an employee or agent responsible for delivering this message to 
the intended recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited. If you 
have received this communication in error, please notify Stonebridge Bank 
immediately by replying to this message and deleting it from your computer.

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


The information in this message may be proprietary and/or confidential, and 
protected from disclosure. If the reader of this message is not the intended 
recipient, or an emplo

Re: [rt-users] Warning - perl idiot here

2010-07-30 Thread Michael James
Thanks, Robert. Permissions on RT_Config.pm were set at 550 with root as
owner. I chmod'd them to 444 per your suggestion, and it worked. I had
read the man page for perldoc, but didn't catch on. 

btw, when I now run "perldoc /opt/rt3/etc/RT_Config.pm", I get three
syntax errors:

tracker:~ # perldoc /opt/rt3/etc/RT_Config.pm
/opt/rt3/etc/RT_Config.pm:443: Unmatched =back
/opt/rt3/etc/RT_Config.pm:459: Unmatched =back
/opt/rt3/etc/RT_Config.pm:471: Unmatched =back

Again, thanks!

Mike

>>> "Robert Grasso"  7/30/2010 11:25 AM
>>>
Hi,

My rights on /opt/rt3/etc/RT_Config.pm are 440 (should be the stock
ones); now, from man perldoc :

SECURITY
   Because perldoc does not run properly tainted, and is known to
have security issues, when
   run as the superuser it will attempt to drop privileges by
setting the effective and real
   IDs to nobody’s or nouser’s account, or -2 if unavailable. 
If it cannot relinquish its
   privileges, it will not run.

If I chmod 444 /opt/rt3/etc/RT_Config.pm, then perldoc (running as
root) is able to display it, whereas before it failed as yours
did.

Hope this helps

---
Robert GRASSO – System engineer

CEDRAT S.A.
15 Chemin de Malacher - Inovallée - 38246 MEYLAN cedex - FRANCE 
Phone: +33 (0)4 76 90 50 45 - Fax: +33 (0)4 56 38 08 30
mailto:robert.gra...@cedrat.com - http://www.cedrat.com  

> -Message d'origine-
> De : rt-users-boun...@lists.bestpractical.com 
> [mailto:rt-users-boun...@lists.bestpractical.com] De la part 
> de Michael James
> Envoyé : 29 juillet 2010 21:26
> Cc :  Objet : Re: [rt-users] Warning - perl idiot here
> 
> Returns nothing. Ah well, I'll just read the darned file and 
> skip over the pod formatting. Thanks for the suggestion.
> 
> Mike
> 
> tracker:~ # perldoc -F /opt/rt3/etc/RT_Config.pm
> tracker:~ #
> 
> >>> Todd Chapman  7/29/2010 3:06 PM >>>
> Try: perldoc -F
> 
> On Thu, Jul 29, 2010 at 1:55 PM, Michael James
>  wrote:
> > How come I can't view the documentation with RT_Config.pm 
> using perldoc?
> >
> > tracker:~ # perldoc /opt/rt3/etc/RT_Config.pm
> > Can't open /opt/rt3/etc/RT_Config.pm: Permission denied at 
> /usr/lib/perl5/5.8.8/Pod/Perldoc.pm line 1380.
> >
> > Mike
> >
> >
> > The information in this message may be proprietary and/or 
> confidential, and protected from disclosure. If the reader of 
> this message is not the intended recipient, or an employee or 
> agent responsible for delivering this message to the intended 
> recipient, you are hereby notified that any dissemination, 
> distribution or copying of this communication is strictly 
> prohibited. If you have received this communication in error, 
> please notify Stonebridge Bank immediately by replying to 
> this message and deleting it from your computer.
> >
> > Discover RT's hidden secrets with RT Essentials from O'Reilly
Media.
> > Buy a copy at http://rtbook.bestpractical.com 
> >
> 
> 
> The information in this message may be proprietary and/or 
> confidential, and protected from disclosure. If the reader of 
> this message is not the intended recipient, or an employee or 
> agent responsible for delivering this message to the intended 
> recipient, you are hereby notified that any dissemination, 
> distribution or copying of this communication is strictly 
> prohibited. If you have received this communication in error, 
> please notify Stonebridge Bank immediately by replying to 
> this message and deleting it from your computer.
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com 
> 



The information in this message may be proprietary and/or confidential,
and protected from disclosure. If the reader of this message is not the
intended recipient, or an employee or agent responsible for delivering
this message to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this communication in error, please
notify Stonebridge Bank immediately by replying to this message and
deleting it from your computer.

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

Re: [rt-users] Warning - perl idiot here

2010-07-30 Thread Robert Grasso
Hi,

My rights on /opt/rt3/etc/RT_Config.pm are 440 (should be the stock ones); now, 
from man perldoc :

SECURITY
   Because perldoc does not run properly tainted, and is known to have 
security issues, when
   run as the superuser it will attempt to drop privileges by setting the 
effective and real
   IDs to nobody’s or nouser’s account, or -2 if unavailable.  If it cannot 
relinquish its
   privileges, it will not run.

If I chmod 444 /opt/rt3/etc/RT_Config.pm, then perldoc (running as root) is 
able to display it, whereas before it failed as yours
did.

Hope this helps

---
Robert GRASSO – System engineer

CEDRAT S.A.
15 Chemin de Malacher - Inovallée - 38246 MEYLAN cedex - FRANCE 
Phone: +33 (0)4 76 90 50 45 - Fax: +33 (0)4 56 38 08 30
mailto:robert.gra...@cedrat.com - http://www.cedrat.com  

> -Message d'origine-
> De : rt-users-boun...@lists.bestpractical.com 
> [mailto:rt-users-boun...@lists.bestpractical.com] De la part 
> de Michael James
> Envoyé : 29 juillet 2010 21:26
> Cc :  Objet : Re: [rt-users] Warning - perl idiot here
> 
> Returns nothing. Ah well, I'll just read the darned file and 
> skip over the pod formatting. Thanks for the suggestion.
> 
> Mike
> 
> tracker:~ # perldoc -F /opt/rt3/etc/RT_Config.pm
> tracker:~ #
> 
> >>> Todd Chapman  7/29/2010 3:06 PM >>>
> Try: perldoc -F
> 
> On Thu, Jul 29, 2010 at 1:55 PM, Michael James
>  wrote:
> > How come I can't view the documentation with RT_Config.pm 
> using perldoc?
> >
> > tracker:~ # perldoc /opt/rt3/etc/RT_Config.pm
> > Can't open /opt/rt3/etc/RT_Config.pm: Permission denied at 
> /usr/lib/perl5/5.8.8/Pod/Perldoc.pm line 1380.
> >
> > Mike
> >
> >
> > The information in this message may be proprietary and/or 
> confidential, and protected from disclosure. If the reader of 
> this message is not the intended recipient, or an employee or 
> agent responsible for delivering this message to the intended 
> recipient, you are hereby notified that any dissemination, 
> distribution or copying of this communication is strictly 
> prohibited. If you have received this communication in error, 
> please notify Stonebridge Bank immediately by replying to 
> this message and deleting it from your computer.
> >
> > Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> > Buy a copy at http://rtbook.bestpractical.com 
> >
> 
> 
> The information in this message may be proprietary and/or 
> confidential, and protected from disclosure. If the reader of 
> this message is not the intended recipient, or an employee or 
> agent responsible for delivering this message to the intended 
> recipient, you are hereby notified that any dissemination, 
> distribution or copying of this communication is strictly 
> prohibited. If you have received this communication in error, 
> please notify Stonebridge Bank immediately by replying to 
> this message and deleting it from your computer.
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
> 


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