Author Topic: i cant login on Web Interface -  (Read 1273 times)

federicososa

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
i cant login on Web Interface -
« on: November 16, 2023, 04:09:54 pm »
Hi everyone,

im trying to login in the web interface, but it keeps saying that the password is incorrect - yeap i check it many times - i can login with the password in the desktop, ssh and as sudo but i can login on the website.
according to the zentyal.log

2023/11/16 15:55:14 DEBUG> PAM.pm:65 Authen::Simple::PAM::check - Failed to authenticate user 'hereMyUsername' using service 'zentyal'. Reason: 'Authentication failure'
2023/11/16 15:55:14 WARN> Auth.pm:277 EBox::Middleware::Auth::_login - Failed login from: 192.168.25.74

Can somebody give a hint? i tried already to make a new user, and give it the rights like the original ZentyalAdmin but still no success..

Thanks!



turalyon

  • Zen Warrior
  • ***
  • Posts: 197
  • Karma: +15/-0
    • View Profile
Re: i cant login on Web Interface -
« Reply #1 on: November 20, 2023, 10:49:41 am »
That is weird. Did you try to set (temporarily) a simple password without any special characters to the local administrator like zentyal2023?

Also, did you check the configuration file /etc/passwd ? Did you restart the webadmin module?

Code: [Select]

sudo zs webadmin restart

sudo zs webadmin status


Finally, you might try again to create another local administrator as follows and login to the Zentyal GUI:

Code: [Select]

sudo useradd -m -d /home/zenadmin -G sudo -s /bin/bash zenadmin

sudo passwd zenadmin




“This world is ours, and by the Holy Light we will keep it safe, now and forever".

federicososa

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: i cant login on Web Interface -
« Reply #2 on: December 04, 2023, 09:56:43 am »
Hi Thanks for the Reply.

yeap, i created an user named johnDoe and gave him all rights and still no chance to get in.

turalyon

  • Zen Warrior
  • ***
  • Posts: 197
  • Karma: +15/-0
    • View Profile
Re: i cant login on Web Interface -
« Reply #3 on: December 04, 2023, 10:53:40 am »
You must debug the issue by analyzing the following log files:

- /var/log/zentyal/zentyal.log
- /var/log/syslog
- /var/log/auth.log
- /var/log/zentyal/access.log
- /var/log/zentyal/error.log
- /var/log/nginx/error.log

Also, I recommend you to enable the debug module as follows:

1. Edit the parameter debug in the log file /etc/zentyal/zentyal.conf
2. Restart the webadmin module to apply the changes.

Finally, did you confirm that the services that manage the webadmin are running?

Code: [Select]
sudo systemctl status zentyal.webadmin-nginx zentyal.webadmin-uwsgi



This world is ours, and by the Holy Light, we will keep it safe, now and forever.