pam_listfile(cockpit:auth): Refused user root for service cockpit
Issue
It is not possible to connect to the web console (cockpit)from a remote machine as a root user:
Apr 25 17:56:44 rhel9a cockpit-session[5383]: pam_unix(cockpit:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=::ffff:192.168.122.218 user=root
Apr 25 17:56:44 rhel9a cockpit-session[5383]: pam_listfile(cockpit:auth): Refused user root for service cockpit
Environment
- RHEL 9.2 and later
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.