Rt command changed? No RT user found

My nag script used /opt/rt2/bin/rt to do it’s work. After upgrading to
2.0.9 I noticed that the script stopped sending out emails. If I run it as
any user other than root, I get the following error:

mrz@irv1-core [~/] 526> /opt/rt2/bin/rt

No RT user found. Please consult your RT administrator.

Looking through the src, I see that GetCurrentUser “Figures out the uid of
the current user and returns an RT::CurrentUser object loaded with that
user. if the current user isn’t found, returns a copy of RT::Nobody.”

That doesn’t appear to be working anymore or I lost whatever RT:Nobody is.
Help?

matthew zeier - “In mathematics you don’t understand things. You just
get used to them.” - John von Newmann

Your scripts are running as a user who doesn’t have an RT account and were,
in effect, exploiting the security hole that was fixed in 2.0.8_01.

create an rt user with the unix username set to whatever your scripts run as.On Sun, Dec 02, 2001 at 02:53:42PM -0800, matthew zeier wrote:

My nag script used /opt/rt2/bin/rt to do it’s work. After upgrading to
2.0.9 I noticed that the script stopped sending out emails. If I run it as
any user other than root, I get the following error:

mrz@irv1-core [~/] 526> /opt/rt2/bin/rt

No RT user found. Please consult your RT administrator.

Looking through the src, I see that GetCurrentUser “Figures out the uid of
the current user and returns an RT::CurrentUser object loaded with that
user. if the current user isn’t found, returns a copy of RT::Nobody.”

That doesn’t appear to be working anymore or I lost whatever RT:Nobody is.
Help?


matthew zeier - “In mathematics you don’t understand things. You just
get used to them.” - John von Newmann


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

Your scripts are running as a user who doesn’t have an RT account and
were,
in effect, exploiting the security hole that was fixed in 2.0.8_01.

create an rt user with the unix username set to whatever your scripts run
as.

I’m actually running this as myself and my username and my RT login name are
the same -

mrz@irv1-core [~/] 532> id -a
uid=1294(mrz) gid=1001(sysadm) groups=1001(sysadm),1100(company)
mrz@irv1-core [~/] 533> /opt/rt2/bin/rt
No RT user found. Please consult your RT administrator.
mrz@irv1-core [~/] 534>

mysql> select Name from Users where Name = “mrz”;
| Name |
| mrz |
1 row in set (0.00 sec)

Use the web based admin tool to look at the user for you. Look for ‘unix login’. Is that set to your unix login?On Sun, Dec 02, 2001 at 05:52:51PM -0800, matthew zeier wrote:

Your scripts are running as a user who doesn’t have an RT account and
were,
in effect, exploiting the security hole that was fixed in 2.0.8_01.

create an rt user with the unix username set to whatever your scripts run
as.

I’m actually running this as myself and my username and my RT login name are
the same -

mrz@irv1-core [~/] 532> id -a
uid=1294(mrz) gid=1001(sysadm) groups=1001(sysadm),1100(company)
mrz@irv1-core [~/] 533> /opt/rt2/bin/rt
No RT user found. Please consult your RT administrator.
mrz@irv1-core [~/] 534>

mysql> select Name from Users where Name = “mrz”;
±-----+
| Name |
±-----+
| mrz |
±-----+
1 row in set (0.00 sec)

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

Ah indeed - that was blank. Thanks!From: “Jesse Vincent” jesse@bestpractical.com
To: “matthew zeier” matthew.zeier@thirdcoast.net
Cc: rt-users@fsck.com
Sent: Sunday, December 02, 2001 6:23 PM
Subject: Re: [rt-users] rt command changed? No RT user found…

Use the web based admin tool to look at the user for you. Look for ‘unix
login’. Is that set to your unix login?

Your scripts are running as a user who doesn’t have an RT account and
were,
in effect, exploiting the security hole that was fixed in 2.0.8_01.

create an rt user with the unix username set to whatever your scripts
run

as.

I’m actually running this as myself and my username and my RT login name
are

the same -

mrz@irv1-core [~/] 532> id -a
uid=1294(mrz) gid=1001(sysadm) groups=1001(sysadm),1100(company)
mrz@irv1-core [~/] 533> /opt/rt2/bin/rt
No RT user found. Please consult your RT administrator.
mrz@irv1-core [~/] 534>

mysql> select Name from Users where Name = “mrz”;
±-----+
| Name |
±-----+
| mrz |
±-----+
1 row in set (0.00 sec)


http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.