DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

DotNetNuke - Retrieving Host Access

Dave Bush user avatar by
Dave Bush
·
Sep. 22, 09 · News
Like (0)
Save
Tweet
Share
6.29K Views

Join the DZone community and get the full member experience.

Join For Free

One of the most frustrating events that can happen in any system is forgetting your password and not being able to retrieve it.  DotNetNuke has a retrieval system built in, but you have to make sure your system can send mail in order to make use of it.

And even if it sends mail, it may be that you’ve taken over a system and the host account is not registered to you.

So, what do you do?

Well, you can’t look in the database for the password because the passwords are hashed.  But there are some ways to get back in business.

First, let’s take a look at the easy way.  Let’s assume that you have the ability to sign up for a new account with a new password.  Go ahead and do that.

Next, open the database and look for the “Users” table.  This table has a bit field called, “IsSuperUser.”  Set it to true.

Now, log in as that user via DNN and you should be able to administer your system.  I’d go ahead and reset the original host and admin passwords.

If you haven’t allowed public signup for any of your DNN sites, you’ll have to enable public access by going into the database and looking for the “Portals” table.

In the “Portals” table there is a field called “UserRegistration.” If you set this field to 2, you will be able to sign up as a new user.

Of course, if you don’t have access to the database, you are stuck. But, if you don’t have access to the database, you probably have no business trying to retrieve the host password either.

 

Host (Unix) DotNetNuke

Published at DZone with permission of Dave Bush, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • GPT-3 Playground: The AI That Can Write for You
  • How Do the Docker Client and Docker Servers Work?
  • 9 Ways You Can Improve Security Posture
  • RabbitMQ vs. Memphis.dev

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: