Hello all!

I've searched everywhere for this answer and still cannot find anything on point so now I'll turn to the wisdom of the community! Here's my story:

I run a sight for a local user group. The previous manager installed Drupal and made himself User 1. I am user 2 with full admin privileges. I have the responsibility of maintaining the site and as you know that can be tricky when you are not user 1. How do I switch users 1 and 2 while keeping all of the content attached to the appropriate user?

Thanks!

Comments

genemcc’s picture

Any thoughts on this? Thanks!

Gene
A Site for Digital Artisans

yngens’s picture

it can be done only via modifying database tables directly. first create temporary user and run a script which attributes all the nodes of user 2 to that temporary user, second attribute all the nodes of user 1 to user to, third attribute all the nodes of temporary user to user 1, and finally delete temporary user.

genemcc’s picture

Thanks. I'll give that a try.

Gene
A Site for Digital Artisans

niek_kloots’s picture

Where do I create that script? In the database or on the website?
And what script?