Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Is it possible to change/switch user IDs?

Is it possible to change user IDs?
I'm the admin, and I have ID number 2: can I switch it with the user that have ID number 1?
How can I obtain this?
0
Comments
Start searching in the db who has the ID = 1. Why not rename that user to admin and give to it admin permissions? Actual admin user will be renamed as user2... A swap!
There was an error rendering this rich post.
One interesting thing to understand is that UserID 1 (that is the user with UserID equal to 1) will always have all permissions regardless of role or permissions set on that user.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
That's not exactly true @hgtonight. There is a column in GDN_User called Admin which determines this. So if you want to give super admin rights to a different user then just update the value of this column for that user.
Thanks for the clarification @Todd. I got this information from the user model function SaveAdminUser($FormPostValues) which forces the user id to 1.
My mistake
It is my understanding that there is no "user friendly" way to add super admins, is that correct?
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Thanks for the reply but my problem is different.
Many years ago I installed phpBB2 withe the default admin ads user 1.
Then I created the user candyman (with admin permissions) and deleted the user admin.
All the post, pm, and so on... by candyman are pointing to user ID 2.
My question is this: is it possible to assign to the user candyman the iD 1 with all threads and posts referring to the number 1 (instead of 2, the original one)?
Yes, but is it worth it.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Wow, thank you very much!
I guess I need a backup, first...