[rt-users] Help, root no more a SuperUser
H Manohar rayker
manohar.r at glowtouch.com
Thu Jun 25 09:54:19 EDT 2009
Hi Boris,
Run the below command. This worked for me for the same situation. hope it
works for you as well.
perl -I /opt/rt3/lib -MRT -e' RT::LoadConfig(); RT::Init(); my $u =
RT::User->new($RT::Systemuser); $u->Load("root"); print
$u->PrincipalObj->GrantRight(Object => $RT::System, Right => "SuperUser");
Thanks
Manohar
-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Boris
Jordanov
Sent: Thursday, June 25, 2009 6:55 PM
To: rt-users at lists.bestpractical.com
Subject: [rt-users] Help, root no more a SuperUser
I'm in a trouble. While setting some user rights, it seems I've revoked
the superuser right of mu root (UID 1) user. Can someone guide me how to
fix this? A nice SQL statement to make my root superuser again?
Thank you in advance.
PS It's urgent :(
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: sales at bestpractical.com
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
More information about the rt-users
mailing list