Running Drupal 7 on DrupalVM. Had a successful installation, but when I visited my Drupal site, it requires a login and password. I couldn't find in the docs where the root admin login credentials are. Usually Drupal allows you to set this up, but not the case with DrupalVM (unless its in a config file and I overlooked it). Are there root login credentials or do you have to create an admin user (through your db) when first getting started with DrupalVM? Thanks.
Username and password: admin:admin https://github.com/geerlingguy/drupal-vm#3---configure-your-host-machine-to-access-the-vm
Related
I've got a production site with three users, two of which are admins. None are able to log in with their password; They get "Sorry, unrecognized username or password. Have you forgotten your password?" We ARE able to log in by requesting a new password and getting a temporary login key, so I'm able to access the administration pages and look at the unhelpful logs, but of course this is not sustainable.
I've tried:
logging in on various devices
clearing the cache
running update.php
adding a $cookie_domain in settings.php
checking the database to make sure the users exist (they do, with hashed passwords)
My .htaccess file reroutes all traffic to https://www.
Core is Drupal 7.59.
Any thoughts?
I was using the Drupal 7 module "Hide Node Field." When I deactivated that module, user logins began working again. I will file a bug report with the Hide Node Field developers.
My friend asked me to help him with his site on wordpress, he lost the wp admin panel password.
But he didn't loose the mysql login information so sirst i thought about changing the password right through phpmyadmin. I get in phpmyadmin and saw that password looks a little bit strange, like this $P$BUKCBYLJ.MmLPqlzZTw4P/rLnR.omZ.
This article helped me to create password that looks the same as passwords that already existed in mysql db passwords, so i put it in my admin's user_pass field.
But i'm still unable to log in.
Actually, when i try to access /wp-admin/, i see no standard wordpress login page
I see this
And when i fail to log in it gives me 401 and shows this page
Is it ok? What the difference between situations when standard login page shows and when this authentication alert box shows ?
Anyway, all I can think of is:
1) Online password hasher gives me wrong password,
2) You see, this authentication box says "please use your control panel password", so i think the site uses some other passwords, not passwords that are in it's db. Is it possible?
Thanks in advance!
You are seeing a Basic HTTP Authentication prompt, which is not part of WordPress - it is being sent by your webserver (likely Apache or Nginx). This provides an additional layer of security against brute force attacks as you need to "log in" to the web server before you can authenticate against WordPress.
The passwords for Basic Authentication are typically stored in .htpasswd files, and defined either in an .htaccess file or your webserver's configuration. Refer to this guide for some more information on how this is set up.
You will need to reset the Basic Authentication password in the .htpasswd file, or remove it entirely, before you can log into WordPress. Once you access the WordPress login prompt you can use the password that you have set for the user you want to login as. Options for resetting your WordPress password via SQL, phpMyAdmin, FTP, and the WP CLI can be found in the article Resetting Your Password on the WordPress site.
I'm setting up a Wordpress site that I need to get and store user info in LDAP. I have found a few plugins that will let me auth my users against LDAP and that is a start. What I need is new user registration to create the users in LDAP and password resets to update the passwords in LDAP as well.
The LDAP server is running OpenLDAP and LAM is installed, I know that there pro version does user provisioning but it doesn't let me redirect the people back to my WP install after they have created an account.
Ideally I would like to find a plugin for WP that would solve this but if I had to redirect users to my LDAP server for account creation that would be ok if at the end of the process I could send them back to the URL they came from.
I'm having a problem which I can't solve.
I have bought a cheap vps, with ubuntu 12.10 then installed the tomcat7, maven, and nexus. All of them are the latest. This is a fresh install from everything. I started and deployed the nexus, no errors in catalina, no errors in nexus, and when I tried to login with admin/admin123, I have failed.
I'll show you any of my log file what you need, please help me with this.
EDIT: nexus is 2.2-01
EDIT2: this is a cheap server with 512 ram, running without X
My security-configuration.xml is this:
<?xml version="1.0"?>
<security-configuration>
<version>2.0.3</version>
<enabled>true</enabled><!-- was true -->
<anonymousAccessEnabled>true</anonymousAccessEnabled>
<anonymousUsername>anonymous</anonymousUsername>
<anonymousPassword>{1FH7iFzhCukHI3ISkjq+AuQZb+bOMrB70bGqF2y6fNE=}</anonymousPassword>
<realms>
<realm>XmlAuthenticatingRealm</realm>
<realm>XmlAuthorizingRealm</realm>
</realms>
<securityManager>default</securityManager>
</security-configuration>
Do the following:
stop Nexus
change the enabled in the xml to false
restart Nexus
get in without anything as admin that way
reset the admin password
enable the security again in the user interface
Oh and btw. I would suggest to run Nexus from the bundle with Jetty on a VPS and not with the war file in Tomcat so you get more performance out of it.
Update: Security can no longer be disabled in Nexus 2.7 and up. You have to insert an admin user into the xml as documented in this support page.
Resting nexus admin password from default "admin123" to more secured password without changing config files.
I got my nexus instance up and running with no issues login in as admin user and default password. I wanted to reset admin password ( to more secure password) and followed the following instructions (without touching the security.xml file as i hate changing config files to do any password resets)
Login to nexus with admin user and default password.
Click on server link under administration tab.
Make sure that SMTP settings are set up correctly ( hostname , port
, username and passowrd).
Click on "Test SMTP settings" and provide an email address to see if
you get mail from nexus server.
If you have already set up SMTP correctly on your instance you don't
need to run step 3 and 4.
Hit "Users" link under Security tab and select admin user. make sure
you have set up the correct email for this user.
Log out of nexus .
Login and hit forgot your "password" link.
The password recovery screen will prompt you for user which is
"admin" and email should be the one you have listed in step 6.
Hit "Reset Password" button and you ll get a much stronger password
in email .
Again Checking SMTP settings and admin user's email is one time action. Step 8 to 10 take less than a minute and one can easily reset admin password without touching the security.xml file. Ofcourse this file will be automatically updated as soon as you login with new password. Preferred way than modifying the file manually.
How to give an admin access to the users who have logged in using ldap username and password after authentication. And should we store this $_POST values in drupal database.
If you are using the ldap_integration module after an LDAP user logs in for the first time a full local Drupal user is created for them. Install http://drupal.org/project/adminrole which lets you assign your users, even LDAP users, into an "Admin Role". This module gives all available permissions to users in this role.