pam_listfile(cockpit:auth): Refused user root for service cockpit

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content