Re: [rt-users] rt-crontool as a user failing

2009-02-09 Thread Matt Zagrabelny
On Sat, 2009-02-07 at 13:57 -0500, Asif Iqbal wrote:
 Hi I am failing to run rt-crontool

Did you map an rt user to a unix user under:

Configuration - Users - Select - (some rt user)

Set 'Unix login' to 'iqbala'.

Cheers,

 
 (iqbala)@rt:~$ /opt/rt3/bin/rt-crontool
 No RT user found. Please consult your RT administrator.
 
 I can login as `iqbala' to the rt gui and I have administrator privilege.
 I can create a new queue, delete existing queue, create a new user,
 delete any ticket on any queue.
 
 But rt-crontool thinks I am not a valid RT user.

-- 
Matt Zagrabelny - mzagr...@d.umn.edu - (218) 726 8844
University of Minnesota Duluth
Information Technology Systems  Services
PGP key 1024D/84E22DA2 2005-11-07
Fingerprint: 78F9 18B3 EF58 56F5 FC85  C5CA 53E7 887F 84E2 2DA2

He is not a fool who gives up what he cannot keep to gain what he cannot
lose.
-Jim Elliot


signature.asc
Description: This is a digitally signed message part
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@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-crontool as a user failing

2009-02-07 Thread Asif Iqbal
Hi I am failing to run rt-crontool

(iqbala)@rt:~$ /opt/rt3/bin/rt-crontool
No RT user found. Please consult your RT administrator.

I can login as `iqbala' to the rt gui and I have administrator privilege.
I can create a new queue, delete existing queue, create a new user,
delete any ticket on any queue.

But rt-crontool thinks I am not a valid RT user.

I have read access to RT_SIteConfig.pm and RT_Config.pm. I have read
access to all files under /opt/rt3

(iqbala)@webrt-NEW:~$ groups
sys rt

I am part of rt group.
the /opt/rt3/etc permission looks like this

(iqbala)@rt:~$ ls -al /opt/rt3/etc/
total 272
drwxr-xr-x   2 root rt   512 Apr 13  2005 .
drwxr-xr-x   9 root root 512 Nov  2  2006 ..
-r-xr-x---   1 root rt 16763 Mar 17  2006 RT_Config.pm
-r-xr-x---   1 root rt 16459 May 20  2008 RT_SiteConfig.pm
-r-x--   1 root rt68 May  7  2004 acl.Informix
-r-x--   1 root rt   240 May  7  2004 acl.Oracle
-r-x--   1 root rt  1414 May 28  2004 acl.Pg
-r-x--   1 root rt   109 Jun  1  2004 acl.Sybase
-r-x--   1 root rt   376 Jun 26  2004 acl.mysql
-r-x--   1 root rt 21257 May  4  2005 initialdata
-r-x--   1 root rt 10518 Apr  2  2004 schema.Informix
-r-x--   1 root rt 11702 Dec 22  2004 schema.Oracle
-r-x--   1 root rt 13868 Nov  7  2004 schema.Pg
-r-x--   1 root rt 10767 Nov  7  2004 schema.SQLite
-r-x--   1 root rt 11550 Jul 14  2004 schema.Sybase
-r-x--   1 root rt 13217 Nov 14  2005 schema.mysql

Any idea why it is failing to recognize `iqbala' as an RT user

Here are the last few lines of the truss output while trying to run
`rt-crontool' as `iqbala'

[..]
open64(/var/run/name_service_door, O_RDONLY)  = 5
fcntl(5, F_SETFD, 0x0001)   = 0
door_info(5, 0xBFE9B3A8)= 0
door_call(5, 0x08047518)= 0
open(/etc/shadow, O_RDONLY|O_LARGEFILE)   Err#13 EACCES [file_dac_read]
time()  = 1233970819
time()  = 1233970819
time()  = 1233970819
fcntl(3, F_SETFL, FWRITE|FNONBLOCK) = 0
read(3, 0x09401560, 8192)   Err#11 EAGAIN
fcntl(3, F_SETFL, FWRITE)   = 0
write(3,  ,\0\0\003 S E L E C T  .., 48)  = 48
read(3, 01\0\001, 4)  = 4
read(3,  , 1)= 1
read(3, 13\0\002, 4)  = 4
read(3, 05 U s e r s02 i d03\v\0.., 19)   = 19
read(3, 15\0\003, 4)  = 4
read(3, 05 U s e r s04 N a m e03.., 21)   = 21
read(3, 19\0\004, 4)  = 4
read(3, 05 U s e r s\b P a s s w.., 25)   = 25
read(3, 19\0\005, 4)  = 4
read(3, 05 U s e r s\b C o m m e.., 25)   = 25
read(3, 1A\0\006, 4)  = 4
read(3, 05 U s e r s\t S i g n a.., 26)   = 26
read(3, 1D\0\007, 4)  = 4
read(3, 05 U s e r s\f E m a i l.., 29)   = 29
read(3,  $\0\0\b, 4)  = 4
read(3, 05 U s e r s13 F r e e f.., 36)   = 36
read(3, 1D\0\0\t, 4)  = 4
read(3, 05 U s e r s\f O r g a n.., 29)   = 29
read(3, 19\0\0\n, 4)  = 4
read(3, 05 U s e r s\b R e a l N.., 25)   = 25
read(3, 19\0\0\v, 4)  = 4
read(3, 05 U s e r s\b N i c k N.., 25)   = 25
read(3, 15\0\0\f, 4)  = 4
read(3, 05 U s e r s04 L a n g03.., 21)   = 21
read(3, 1E\0\0\r, 4)  = 4
read(3, 05 U s e r s\r E m a i l.., 30)   = 30
read(3, 1C\0\00E, 4)  = 4
read(3, 05 U s e r s\v W e b E n.., 28)   = 28
read(3,  \0\00F, 4)  = 4
read(3, 05 U s e r s15 E x t e r.., 38)   = 38
read(3,  \0\010, 4)  = 4
read(3, 05 U s e r s11 C o n t a.., 34)   = 34
read(3, 1F\0\011, 4)  = 4
read(3, 05 U s e r s0E E x t e r.., 31)   = 31
read(3, 1B\0\012, 4)  = 4
read(3, 05 U s e r s\n A u t h S.., 27)   = 27
read(3, 16\0\013, 4)  = 4
read(3, 05 U s e r s05 G e c o s.., 22)   = 22
read(3, 1A\0\014, 4)  = 4
read(3, 05 U s e r s\t H o m e P.., 26)   = 26
read(3, 1A\0\015, 4)  = 4
read(3, 05 U s e r s\t W o r k P.., 26)   = 26
read(3, 1C\0\016, 4)  = 4
read(3, 05 U s e r s\v M o b i l.., 28)   = 28
read(3, 1B\0\017, 4)  = 4
read(3, 05 U s e r s\n P a g e r.., 27)   = 27
read(3, 19\0\018, 4)  = 4
read(3, 05 U s e r s\b A d d r e.., 25)   = 25
read(3, 19\0\019, 4)  = 4
read(3, 05 U s e r s\b