How to add new user as site administrator?

Hello,

I’d like to know how to add a new user and allocate them site administrator privileges. Is there a SQL script I can use?

We are using:

OJS 2.4.8
RHEL 6.8
PostGreSQL 8.4
PHP 5.3.3

Thanks,
Gary

Hi @gizzard,

See Changing a site administrator - #5 by Evandro_Souza.

Regards,
Alec Smecher
Public Knowledge Project Team

Thanks very much Alec

Hi @asmecher,

An old thread, but I’m looking for the answer to the first part of my question, and it’s surprisingly difficult to find - probably because I’m thinking about the issue in the wrong way.

ie. how do I add a new user that I wish to become (another) site administrator. I understand how to make an existing user a site administrator, but how do I add that user in the first place? Do I possibly just get them to register with any journal and then run the SQL to convert them to a site admin?

Thanks again for your help,
Gary

Hi @gizzard,

Yes, have them register their own account, then use the SQL to promote them to Site Admin.

Regards,
Alec Smecher
Public Knowledge Project Team

Great, thanks Alec!
Cheers,
Gary