efa 4. cannot login to cli

General eFa discussion
Post Reply
andreadb
Posts: 6
Joined: 01 Jan 2021 12:06

efa 4. cannot login to cli

Post by andreadb »

Hi all,

I'm having a problem with my installation (efa 4, Centos 7 on Hyper-V). I can login to mailwatch and also on webmin, but I cannot login to the console. I have also tried to reset the password of the admin user from the webmin interface, but still no way to login.

EFA works well, but I need to login to the console to run the efa-configure.

Is there a way to reset the password of the cli user ?

Thank you,
Andrea
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: efa 4. cannot login to cli

Post by pdwalker »

What username are you using to log into webadmin?

What username are you using to log into the console?
andreadb
Posts: 6
Joined: 01 Jan 2021 12:06

Re: efa 4. cannot login to cli

Post by andreadb »

Hi, I use the same username, admin.
Unfortunately, while I have no problem in MailWatch interface, my login to cli alway fails. I have also to use the Webmin interface to reset the pwd of admin user, but still no luck.

Thank you,
Andrea
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: efa 4. cannot login to cli

Post by pdwalker »

and what account were you using to log into the console? During the installation, you would have created an account that you can use to log into the shell to manage EFA. Do you remember what it was?

If you are unsure, log into the webadmin interface and look under System/Users and Groups. Look for the first username starting with User ID 1000.
andreadb
Posts: 6
Joined: 01 Jan 2021 12:06

Re: efa 4. cannot login to cli

Post by andreadb »

Hi, thank you for your answer.
I have checked and user 1000 is admin, exactly the same I use for MailWatch.
I have tried to reset its password via the Webmin, but with the old one or the new one, I cannot login.

Thanks
Andrea
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: efa 4. cannot login to cli

Post by shawniverson »

https://www.unixmen.com/reset-root-password-centos-7/

Get root activated and reset, then use it to reset admin.
andreadb
Posts: 6
Joined: 01 Jan 2021 12:06

Re: efa 4. cannot login to cli

Post by andreadb »

I have tried to reset the password via webmin, but still I cannot login, both using the web tool and the web shell.
But, on ssh I have access denied, on the Console I have login incorrect.
I know the root password as I can access Webmin, but it seems that any interactive login is failing.
Thanks again
Andrea
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: efa 4. cannot login to cli

Post by shawniverson »

You still need to drop into single user mode to get admin for the cli reset.
andreadb
Posts: 6
Joined: 01 Jan 2021 12:06

Re: efa 4. cannot login to cli

Post by andreadb »

Thank you, it worked. Changing the password from Webmin did not work, it must be done from the SingleUser mode.
Thanks again,
Andrea
Post Reply