Message from discussion
Suspended admin user.
Received: by 10.204.11.65 with SMTP id s1mr118810bks.7.1352800695642;
Tue, 13 Nov 2012 01:58:15 -0800 (PST)
X-BeenThere: gitorious@googlegroups.com
Received: by 10.204.131.72 with SMTP id w8ls7758953bks.3.gmail; Tue, 13 Nov
2012 01:58:12 -0800 (PST)
Received: by 10.204.11.65 with SMTP id s1mr118798bks.7.1352800692514;
Tue, 13 Nov 2012 01:58:12 -0800 (PST)
Received: by 10.204.11.65 with SMTP id s1mr118797bks.7.1352800692500;
Tue, 13 Nov 2012 01:58:12 -0800 (PST)
Return-Path: <tho...@gitorious.org>
Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177])
by gmr-mx.google.com with ESMTPS id t1si785444bkt.1.2012.11.13.01.58.11
(version=TLSv1/SSLv3 cipher=OTHER);
Tue, 13 Nov 2012 01:58:11 -0800 (PST)
Received-SPF: neutral (google.com: 209.85.217.177 is neither permitted nor denied by best guess record for domain of tho...@gitorious.org) client-ip=209.85.217.177;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.217.177 is neither permitted nor denied by best guess record for domain of tho...@gitorious.org) smtp.mail=tho...@gitorious.org
Received: by mail-lb0-f177.google.com with SMTP id gi11so6129423lbb.8
for <gitorious@googlegroups.com>; Tue, 13 Nov 2012 01:58:11 -0800 (PST)
d=google.com; s=20120113;
h=message-id:date:from:reply-to:organization:user-agent:mime-version
:to:subject:references:in-reply-to:content-type
:content-transfer-encoding:x-gm-message-state;
bh=iEM3lTUBywaHx50JdtCPph5pByhMB0AkJzHHLT1X2NI=;
b=kDJrDbUJPG/Ud5oKQIikh5ZeSJx9AF6hKNpW5xce/SZnKZ/G3ylhH8BsSrLlxDKjAJ
9mG4cnu/mdopwjIqj1QLVs0jqwhM+1IMS4mOfbl7PIBC5EBbOtXfLokhuQJ42upatk70
n9dDgEXuvf5UX2y3mYu7P7HxB+YfC9Pi1qmuh6v4YBq57xfkMIxkIEJJelpBfSBjhuGf
YlJhapArD6jvyp+FE8/in0Kv4nfnqKYlrRD1Pol95Rj/RVIpL8T4U8tdkMRd/AtDJC8G
H6DXY0KKaHECzC9S7pJ1epdfT/oHqtQZGf29RCRd6z8n1gQmYT0xxOAqja/gI5eOD9u/
Xbnw==
Received: by 10.112.103.202 with SMTP id fy10mr131913lbb.51.1352800690893;
Tue, 13 Nov 2012 01:58:10 -0800 (PST)
Return-Path: <tho...@gitorious.org>
Received: from [10.0.0.5] ([77.88.110.202])
by mx.google.com with ESMTPS id lv1sm3507765lab.14.2012.11.13.01.57.59
(version=SSLv3 cipher=OTHER);
Tue, 13 Nov 2012 01:58:02 -0800 (PST)
Message-ID: <50A219A6.50...@gitorious.com>
Date: Tue, 13 Nov 2012 10:57:58 +0100
From: Thomas Kjeldahl Nilsson <tho...@gitorious.com>
Reply-To: tho...@gitorious.com
Organization: Gitorious AS
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0
MIME-Version: 1.0
To: gitorious@googlegroups.com
Subject: Re: [gitorious] Suspended admin user.
References: <9e31cb1b-687a-4692-b073-b955a85ac193@googlegroups.com>
In-Reply-To: <9e31cb1b-687a-4692-b073-b955a85ac193@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Gm-Message-State: ALoCoQm2R6Jw1CZST7L5PX+rxTfV7BCKhcdoYNCSGkc6miLL1UgUfM26FY8SEF0xsN5LSMi8Ho1v
On 11/13/2012 04:07 AM, Rohit Ramesh wrote:
> I was cleaning up some random logins, and I seem to have suspended my
> admin user.
>
> I've got a significant amount of work under that username, and it
> would be nice to unsuspend it without losing my repositories and whatnot.
>
> Is there any way i can dot his with SSH access to the server running
> gitorious?
>
> A quick modification of the suspend-user script to call
> user.unsuspend, didn't seem to do anything.
> --
> To post to this group, send email to gitorious@googlegroups.com
> To unsubscribe from this group, send email to
> gitorious+unsubscribe@googlegroups.com
Hello Rohit,
this should work: log in via ssh, go to the root of your gitorious
installation, run something like this:
RAILS_ENV=production script/runner
'u=User.find_by_email("ADMIN_EMAIL_ADDRESS");u.suspended_at=nil;u.save!'
--
best regards,
Thomas Kjeldahl Nilsson
Partner & programmer, Gitorious AS
http://gitorious.com