Hugh's picture

OK so I am trying to launch a Magento instance on EC2 via the Hub.  The first time, I specified a root password, but couldn't log in with it (got a message saying access denied / incorrect password).  I tried again without specifying a password, thinking I would get the password from the syslog as described.  The syslog just seems to contain nonsense in the "set root password" section, no obvious password.

I expect I'm doing something wrong and would be very grateful if someone could point it out.

Best wishes

Hugh

Forum: 
Jeremy Davis's picture

Firstly are you sure that the "nonsense" isn't the password (random string)?

Secondly the password (that you set) should work fine... Where/how/with what are you trying to log in?

Hugh's picture

Thanks for reply.

The syslog contains the following in the password section:

inithooks: [K[7;9H[1K [0;10;1;11m[37m[47mÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ[0;10;1m[34m[47mRoot Password[0;10;1;11m[37m[47mÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ[0;10;11m[30m[47m¿[0;10;1m[36m[44m[K[8;9H[1K [0;10;1;11m[37m[47m³[0;10m[30m[47m[58X[8;69H[0;10;11m[30m[47m³[0;10;1m[30m[40m  [36m[44m[K[9;9H[1K [0;10;1;11m[37m[47m³[0;10m[30m[47m Please enter new password for the root account.          [0;10;11m[30m[47m³[0;10;1m[30m[40m  [36m[44m[K[10;9H[1K [0;10;1;11m[37m[47m³[0;10m[30m[47m [0;10;11m[30m[47mÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ[0;10;1;11m[37m[47m¿[0;10m[30m[47m [0;10;11m[30m[47m³[0;10;1m[30m[40m  [36m[44m[K[11;9H[1K [0;10;1;11m[37m[47m³[0;10m[30m[47m [0;10;11m[30m[47m³[0;10;1m[37m[47m[54X[11;67H[0;10;1;11m[37m[47m³[0;10m[30m[47m [0;10;11m[30m[47m³[0;10;1m[30m[40m  [36m[44m[K[12;9H[1K [0;10;1;11m[37m[47m³[0;10m[30m[47m [0;10;11m[30m[47mÀ[0;10;1;11m[37m[47mÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

Regarding the password that I set myself, I just SSH'd to the server using Putty on Windows.  I tried entering the password several times, but each time it came back refused.

Jeremy Davis's picture

That's really weird. I've never seen that before...

I'll see if I can reproduce it...

Jeremy Davis's picture

I just launched a fresh server and logged in via SSH as root using the password I set. I then launched a new VM and set no password; this is what is my log:
inithooks: # /usr/lib/inithooks/firstboot.d/70ec2-log-rootpass
inithooks: 
inithooks: ################################## [ LOGIN DETAILS ] ###################################
inithooks: 
inithooks:                         Random initial root password: XXXXXXXXX
inithooks: 
inithooks: ########################################################################################
Hugh's picture

Thanks Jeremy.  I created a new instance, setting my own passwords, and can log in fine now.

Jeremy Davis's picture

Must have been a glitch in the system...

Add new comment