Post-installation method, no login to Cockpit possible #1772
Replies: 1 comment
|
@abdulkadirakinsola A few things to verify: 1. Make sure you're using the correct credentialsT-Pot has different users for different interfaces:
The official documentation distinguishes these user types:
Using the Web UI username/password for Cockpit will result in repeated login failures. 2. Verify Cockpit is runningCheck the socket and service: sudo systemctl status cockpit.socket
sudo systemctl status cockpitCockpit is normally started via systemd socket activation, so the socket should be enabled even if the service isn't permanently running. :contentReference[oaicite:1]{index=1} If necessary: sudo systemctl enable --now cockpit.socket3. Check the Cockpit logsIf the credentials are correct but authentication still fails, inspect the logs: sudo journalctl -u cockpit -xeor sudo journalctl -u cockpit.socket -xeThese often show whether the failure is due to authentication, PAM, or another system issue. 4. Confirm password authenticationCockpit's initial login requires an authentication method supported by web browsers (typically a local username/password). If you've disabled password authentication and only use SSH keys, Cockpit won't be able to authenticate that way by default. :contentReference[oaicite:2]{index=2} Could you share a few more details?
sudo systemctl status cockpit.socket
sudo journalctl -u cockpit -n 50That should help determine whether this is a credentials issue, a Cockpit service issue, or a PAM/authentication problem. If this solves your problem, feel free to mark it as the accepted answer so others can find it easily. |
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I have completed my tpot installation and i am able to access the webui and SSH, but i am unable to login to the cockpit. Please can anyone help out,
Thanks!
All reactions