Removing super administrator rights: Difference between revisions

From Joomla! Documentation

Erdsiger (talk | contribs)
New page: Note: You need access to the database used by Joomla! and this tutorial uses phpMyAdmin # Using phpMyAdmin or a similar tool, select the Joomla! database. # Browse to the table "jos_users...
 
Cmb (talk | contribs)
Corrected Super Administrator to Super User. Other markup changes.
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Note: You need access to the database used by Joomla! and this tutorial uses phpMyAdmin
Note: You need access to the database used by Joomla! and this tutorial uses phpMyAdmin


# Using phpMyAdmin or a similar tool, select the Joomla! database.
# Using phpMyAdmin or a similar tool, open the Joomla! database.
# Browse to the table "jos_users" (the prefix may be different).
# Browse to the table ''jos_users''. (The prefix will be different.)
# In phpMyAdmin click the "Browse" tab at the top.
# In phpMyAdmin click the ''Browse'' tab at the top.
# Find the user whose priviledges you want to take away and edit that user's row.
# Find the User whose privileges you want to take away and edit that User's row.
# If the user is a Super Administrator, the value for "gid" will be "25", change this to "24" and save the row.
# If the User is a Super User, the value for ''gid'' will be ''25'', change this to ''24'' and save the row.
# Open the user manager from Joomla! Administrator and edit the user you are changing.
# Open the User Manager in the Joomla! Administrator and edit the User you are changing.
# They are still set as Super Administrator, but you now have the option to change their type through the user manager. Change it to whatever group you wish.
# They are still set as Super User, but you now have the option to change their type through the User Manager. Change it to whatever group you wish.


That is it, the user is no longer Super Administrator
That is it. The user is no longer a Super User.


If you don't have phpMyAdmin on your server, pass this command through mySQL however you want (assuming the table prefix is jos and the username is user)
If you don't have phpMyAdmin on your server, pass this command through MySQL however you want. (Assuming the table prefix is ''jos'' and the username is ''user''.)


<source lang="sql">
<syntaxhighlight lang="sql">
UPDATE `jos_users` SET `gid` = '24' WHERE `username` = 'user' LIMIT 1 ;
UPDATE `jos_users` SET `gid` = '24' WHERE `username` = 'user' LIMIT 1 ;
</source>
</syntaxhighlight>


[[Category:Tips and tricks]]
[[Category:Tips and tricks]]
[[Category:Tips and tricks 1.0]]

Latest revision as of 00:08, 11 December 2022

Note: You need access to the database used by Joomla! and this tutorial uses phpMyAdmin

  1. Using phpMyAdmin or a similar tool, open the Joomla! database.
  2. Browse to the table jos_users. (The prefix will be different.)
  3. In phpMyAdmin click the Browse tab at the top.
  4. Find the User whose privileges you want to take away and edit that User's row.
  5. If the User is a Super User, the value for gid will be 25, change this to 24 and save the row.
  6. Open the User Manager in the Joomla! Administrator and edit the User you are changing.
  7. They are still set as Super User, but you now have the option to change their type through the User Manager. Change it to whatever group you wish.

That is it. The user is no longer a Super User.

If you don't have phpMyAdmin on your server, pass this command through MySQL however you want. (Assuming the table prefix is jos and the username is user.)

UPDATE `jos_users` SET `gid` = '24' WHERE `username` = 'user' LIMIT 1 ;