Suddenly can't login to cockpit, Permission Denied errors Fedora 35
by angryJellyBean from LinuxQuestions.org on (#5RJWY)
Hello I have Fedora 35 installed and it for some reason will no longer let me login with my regular user. Root works fine.
I am logging in on Firefox on another computer with https://192.168.50.22:9090.
I can see these lines in journalctl for the attempted login, but I do not understand how to fix it. Do I need to define $TERM somewhere? And why now when it worked before?
Code:Nov 05 18:30:02 fedserv audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=cockpit comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 05 18:30:02 fedserv audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=cockpit-wsinstance-https-factory@7-45284-992 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 05 18:30:02 fedserv audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=cockpit-wsinstance-https@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 05 18:30:02 fedserv systemd[1]: cockpit-wsinstance-https-factory@7-45284-992.service: Deactivated successfully.
Nov 05 18:30:02 fedserv audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=cockpit-wsinstance-https-factory@7-45284-992 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 05 18:30:02 fedserv cockpit-ws[45290]: json_object_get_string_member: assertion 'node != NULL' failed
Nov 05 18:30:02 fedserv audit[45294]: USER_AUTH pid=45294 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:cockpit_session_t:s0 msg='op=PAM:authentication grantors=pam_usertype,pam_localuser,pam_unix acct="tepsys" exe="/usr/libexec/cockpit-session" hostname=::ffff:192.168.50.204 addr=::ffff:192.168.50.204 terminal=? res=success'
Nov 05 18:30:02 fedserv audit[45294]: USER_ACCT pid=45294 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:cockpit_session_t:s0 msg='op=PAM:accounting grantors=pam_unix,pam_localuser acct="tepsys" exe="/usr/libexec/cockpit-session" hostname=::ffff:192.168.50.204 addr=::ffff:192.168.50.204 terminal=? res=success'
Nov 05 18:30:02 fedserv audit[45294]: CRED_ACQ pid=45294 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:cockpit_session_t:s0 msg='op=PAM:setcred grantors=pam_localuser,pam_unix acct="tepsys" exe="/usr/libexec/cockpit-session" hostname=::ffff:192.168.50.204 addr=::ffff:192.168.50.204 terminal=? res=success'
Nov 05 18:30:02 fedserv audit[45294]: USER_ROLE_CHANGE pid=45294 uid=0 auid=1000 ses=20 subj=system_u:system_r:cockpit_session_t:s0 msg='pam: default-context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 selected-context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 exe="/usr/libexec/cockpit-session" hostname=::ffff:192.168.50.204 addr=::ffff:192.168.50.204 terminal=? res=success'
Nov 05 18:30:02 fedserv cockpit-session[45294]: pam_ssh_add: Identity added: /home/tepsys/.ssh/id_rsa (tepsys@fedora)
Nov 05 18:30:02 fedserv cockpit-session[45294]: pam_unix(cockpit:session): session opened for user tepsys(uid=1000) by (uid=0)
Nov 05 18:30:02 fedserv audit[45294]: USER_START pid=45294 uid=0 auid=1000 ses=20 subj=system_u:system_r:cockpit_session_t:s0 msg='op=PAM:session_open grantors=pam_selinux,pam_loginuid,pam_selinux,pam_keyinit,pam_ssh_add,pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_umask,pam_lastlog acct="tepsys" exe="/usr/libexec/cockpit-session" hostname=::ffff:192.168.50.204 addr=::ffff:192.168.50.204 terminal=? res=success'
Nov 05 18:30:02 fedserv audit[45294]: CRED_REFR pid=45294 uid=0 auid=1000 ses=20 subj=system_u:system_r:cockpit_session_t:s0 msg='op=PAM:setcred grantors=pam_localuser,pam_unix acct="tepsys" exe="/usr/libexec/cockpit-session" hostname=::ffff:192.168.50.204 addr=::ffff:192.168.50.204 terminal=? res=success'
Nov 05 18:30:02 fedserv cockpit-ws[45311]: tput: No value for $TERM and no -T specified
Nov 05 18:30:02 fedserv cockpit-ws[45312]: tput: No value for $TERM and no -T specified
Nov 05 18:30:02 fedserv cockpit-ws[45313]: tput: No value for $TERM and no -T specified
Nov 05 18:30:02 fedserv cockpit-ws[45314]: tput: No value for $TERM and no -T specified
Nov 05 18:30:02 fedserv cockpit-ws[45315]: tput: No value for $TERM and no -T specified
Nov 05 18:30:02 fedserv cockpit-ws[45316]: tput: No value for $TERM and no -T specified
Nov 05 18:30:02 fedserv cockpit-ws[45317]: tput: No value for $TERM and no -T specified
Nov 05 18:30:02 fedserv cockpit-ws[45318]: tput: No value for $TERM and no -T specified
Nov 05 18:30:02 fedserv cockpit-ws[45319]: tput: No value for $TERM and no -T specified
Nov 05 18:30:02 fedserv cockpit-ws[45298]: open terminal failed: not a terminal
Nov 05 18:31:32 fedserv systemd[1]: cockpit-wsinstance-https@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.service: Deactivated successfully.
Nov 05 18:31:32 fedserv audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=cockpit-wsinstance-https@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 05 18:31:32 fedserv systemd[1]: cockpit-wsinstance-https@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.socket: Deactivated successfully.
Nov 05 18:32:02 fedserv systemd[1]: cockpit.service: Deactivated successfully.
Nov 05 18:32:02 fedserv audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=cockpit comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 05 18:32:02 fedserv systemd[1]: cockpit-wsinstance-http-redirect.socket: Deactivated successfully.
Nov 05 18:32:02 fedserv systemd[1]: cockpit-wsinstance-http.socket: Deactivated successfully.
Nov 05 18:32:02 fedserv systemd[1]: cockpit-wsinstance-https-factory.socket: Deactivated successfully.Code:echo $TERM
screenAny help is appreciated.
I am logging in on Firefox on another computer with https://192.168.50.22:9090.
I can see these lines in journalctl for the attempted login, but I do not understand how to fix it. Do I need to define $TERM somewhere? And why now when it worked before?
Code:Nov 05 18:30:02 fedserv audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=cockpit comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 05 18:30:02 fedserv audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=cockpit-wsinstance-https-factory@7-45284-992 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 05 18:30:02 fedserv audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=cockpit-wsinstance-https@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 05 18:30:02 fedserv systemd[1]: cockpit-wsinstance-https-factory@7-45284-992.service: Deactivated successfully.
Nov 05 18:30:02 fedserv audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=cockpit-wsinstance-https-factory@7-45284-992 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 05 18:30:02 fedserv cockpit-ws[45290]: json_object_get_string_member: assertion 'node != NULL' failed
Nov 05 18:30:02 fedserv audit[45294]: USER_AUTH pid=45294 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:cockpit_session_t:s0 msg='op=PAM:authentication grantors=pam_usertype,pam_localuser,pam_unix acct="tepsys" exe="/usr/libexec/cockpit-session" hostname=::ffff:192.168.50.204 addr=::ffff:192.168.50.204 terminal=? res=success'
Nov 05 18:30:02 fedserv audit[45294]: USER_ACCT pid=45294 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:cockpit_session_t:s0 msg='op=PAM:accounting grantors=pam_unix,pam_localuser acct="tepsys" exe="/usr/libexec/cockpit-session" hostname=::ffff:192.168.50.204 addr=::ffff:192.168.50.204 terminal=? res=success'
Nov 05 18:30:02 fedserv audit[45294]: CRED_ACQ pid=45294 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:cockpit_session_t:s0 msg='op=PAM:setcred grantors=pam_localuser,pam_unix acct="tepsys" exe="/usr/libexec/cockpit-session" hostname=::ffff:192.168.50.204 addr=::ffff:192.168.50.204 terminal=? res=success'
Nov 05 18:30:02 fedserv audit[45294]: USER_ROLE_CHANGE pid=45294 uid=0 auid=1000 ses=20 subj=system_u:system_r:cockpit_session_t:s0 msg='pam: default-context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 selected-context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 exe="/usr/libexec/cockpit-session" hostname=::ffff:192.168.50.204 addr=::ffff:192.168.50.204 terminal=? res=success'
Nov 05 18:30:02 fedserv cockpit-session[45294]: pam_ssh_add: Identity added: /home/tepsys/.ssh/id_rsa (tepsys@fedora)
Nov 05 18:30:02 fedserv cockpit-session[45294]: pam_unix(cockpit:session): session opened for user tepsys(uid=1000) by (uid=0)
Nov 05 18:30:02 fedserv audit[45294]: USER_START pid=45294 uid=0 auid=1000 ses=20 subj=system_u:system_r:cockpit_session_t:s0 msg='op=PAM:session_open grantors=pam_selinux,pam_loginuid,pam_selinux,pam_keyinit,pam_ssh_add,pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_umask,pam_lastlog acct="tepsys" exe="/usr/libexec/cockpit-session" hostname=::ffff:192.168.50.204 addr=::ffff:192.168.50.204 terminal=? res=success'
Nov 05 18:30:02 fedserv audit[45294]: CRED_REFR pid=45294 uid=0 auid=1000 ses=20 subj=system_u:system_r:cockpit_session_t:s0 msg='op=PAM:setcred grantors=pam_localuser,pam_unix acct="tepsys" exe="/usr/libexec/cockpit-session" hostname=::ffff:192.168.50.204 addr=::ffff:192.168.50.204 terminal=? res=success'
Nov 05 18:30:02 fedserv cockpit-ws[45311]: tput: No value for $TERM and no -T specified
Nov 05 18:30:02 fedserv cockpit-ws[45312]: tput: No value for $TERM and no -T specified
Nov 05 18:30:02 fedserv cockpit-ws[45313]: tput: No value for $TERM and no -T specified
Nov 05 18:30:02 fedserv cockpit-ws[45314]: tput: No value for $TERM and no -T specified
Nov 05 18:30:02 fedserv cockpit-ws[45315]: tput: No value for $TERM and no -T specified
Nov 05 18:30:02 fedserv cockpit-ws[45316]: tput: No value for $TERM and no -T specified
Nov 05 18:30:02 fedserv cockpit-ws[45317]: tput: No value for $TERM and no -T specified
Nov 05 18:30:02 fedserv cockpit-ws[45318]: tput: No value for $TERM and no -T specified
Nov 05 18:30:02 fedserv cockpit-ws[45319]: tput: No value for $TERM and no -T specified
Nov 05 18:30:02 fedserv cockpit-ws[45298]: open terminal failed: not a terminal
Nov 05 18:31:32 fedserv systemd[1]: cockpit-wsinstance-https@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.service: Deactivated successfully.
Nov 05 18:31:32 fedserv audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=cockpit-wsinstance-https@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 05 18:31:32 fedserv systemd[1]: cockpit-wsinstance-https@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.socket: Deactivated successfully.
Nov 05 18:32:02 fedserv systemd[1]: cockpit.service: Deactivated successfully.
Nov 05 18:32:02 fedserv audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=cockpit comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 05 18:32:02 fedserv systemd[1]: cockpit-wsinstance-http-redirect.socket: Deactivated successfully.
Nov 05 18:32:02 fedserv systemd[1]: cockpit-wsinstance-http.socket: Deactivated successfully.
Nov 05 18:32:02 fedserv systemd[1]: cockpit-wsinstance-https-factory.socket: Deactivated successfully.Code:echo $TERM
screenAny help is appreciated.