WordPress.org

Ready to get started?Download WordPress

Forums

How to login to WP admin with no password (7 posts)

  1. nofearinc
    Member
    Posted 3 years ago #

    Hello,

    I want to unlock the WordPress admin panel of a website and so that users could see the dashboard and admin pages with a direct link. Is there any plugin for that or what do I have to change in wp-login.php in order to achieve that?

  2. Chelsea Otakan
    Member
    Posted 3 years ago #

    Just to clarify--you want a public Dashboard that's viewable without having to log in?

  3. nofearinc
    Member
    Posted 3 years ago #

    Yes, I do.

    I think I found a plugin for that - http://wordpress.org/extend/plugins/no-login/ it is not well known and I don't know whether it's reliable, but that's what I mean to do.

  4. wefreema
    Member
    Posted 3 years ago #

    There are security concerns with this idea. Can you explain why you want to do this?

  5. nofearinc
    Member
    Posted 3 years ago #

    Open demonstration for a custom theme with admin options.

  6. wefreema
    Member
    Posted 3 years ago #

    Apart from security concerns, if all users have admin access to your demo, some clever jerk will probably ruin the demo by changing some settings unless you really secure your installation. At best, they'll change your theme/settings or upload images. At worst, they'll hack your server or database. I would recommend screenshots as a better option.

    If you do insist on doing this, be sure you set your files to at least 644 and your folders to at least 755 on your host. Don't allow write access to anything. I would also disable uploading through php. Also, only allow "select" access to the database. I've never tried doing it, but I think after the initial configuration, it should work--as long as you don't ever need to post or change anything.

    That nologin plugin will probably work--it's only 6 lines of code. Basically, it overwrites the wp_validate_auth_cookie() function, always returning true. You'll note it says "only for local installations", citing security concerns.

  7. nofearinc
    Member
    Posted 3 years ago #

    Thanks for the tips - I have disabled all alterations and changes on the database and when 'select' is the only option, nothing harmful could happen - including uploads, insertion and others. So i find it acceptable.

    Also, there is another plugin named Hide Admin Panels - http://wordpress.org/extend/plugins/hide-admin-panels/ - that hides specific panels for the users. It could usually be deactivated, but it helps creating visual directions and when noone has write privileges, it cannot be edited as well. :)

Topic Closed

This topic has been closed to new replies.

About this Topic