Page 1 of 1

efa 4. cannot login to cli

Posted: 06 Jan 2021 18:00
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

Re: efa 4. cannot login to cli

Posted: 09 Feb 2021 10:36
by pdwalker
What username are you using to log into webadmin?

What username are you using to log into the console?

Re: efa 4. cannot login to cli

Posted: 14 Feb 2021 11:23
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

Re: efa 4. cannot login to cli

Posted: 18 Feb 2021 11:20
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.

Re: efa 4. cannot login to cli

Posted: 20 Feb 2021 12:22
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

Re: efa 4. cannot login to cli

Posted: 20 Feb 2021 13:23
by shawniverson
https://www.unixmen.com/reset-root-password-centos-7/

Get root activated and reset, then use it to reset admin.

Re: efa 4. cannot login to cli

Posted: 20 Feb 2021 18:01
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

Re: efa 4. cannot login to cli

Posted: 21 Feb 2021 12:59
by shawniverson
You still need to drop into single user mode to get admin for the cli reset.

Re: efa 4. cannot login to cli

Posted: 25 Feb 2021 19:23
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