[rt-users] RT CLI login

Dustin Graves dustin at bestpractical.com
Fri Apr 29 14:02:09 EDT 2016


Hi Dave,

There are two ways to authenticate for the RT CLI.

The first is environment variables RTUSER and RTPASSWD

The second is an RT Config file .rtrc in your user’s home directory:
server http://your.rt4.installation <http://your.rt4.installation/>
user your.rtusername
passwd your rt password

I would verify that you can login to RT with your credentials before using the CLI if you have doubts as to their validity. You can use any user with the CLI, but you will be limited by their permissions. Generally it is recommended to make a user specifically for use with the CLI so you can grant only the permissions that you need.

You can take a look at the wiki here for more information: http://requesttracker.wikia.com/wiki/CLI <http://requesttracker.wikia.com/wiki/CLI>

Thank you,
Dustin

> On Apr 29, 2016, at 1:20 PM, Dave Florek <dave.a.florek at gmail.com> wrote:
> 
> Hi,
> 
> I'm trying to use RT CLI to issue several commands however it asks for a password and none of the ones I initially generated are working. Does the rt cli program use the root password to work? I get an error (302) found each time I attempt a login.
> 
> Sincerely,
> ---------
> RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
> * Washington DC - May 23 & 24, 2016

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20160429/c8e45ed6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20160429/c8e45ed6/attachment.pgp>


More information about the rt-users mailing list