#381 https://src.fedoraproject.org/tests/selinux/pull-request/380#request_diff with some debugging info
Closed a year ago by plautrba. Opened a year ago by plautrba.
tests/ plautrba/selinux enable-password-login  into  main

@@ -1289,6 +1289,10 @@ 

      rlFileBackup /etc/ssh/sshd_config

      rlRun "sed -i 's/^.*PermitRootLogin.*$/PermitRootLogin yes/' /etc/ssh/sshd_config"

      rlRun "sed -i 's/^.*PasswordAuthentication.*$/PasswordAuthentication yes/' /etc/ssh/sshd_config"

+     rlRun "echo 'PasswordAuthentication yes' > /etc/ssh/sshd_config.d/9999-enable-password.conf"

+     rlRun "/usr/sbin/sshd -T"

+     rlRun "find /etc/ssh"

+     rlRun "for i in /etc/ssh/sshd_config.d/*; do echo $i; cat $i; done"

      rlRun "service sshd restart"

  }

  

@@ -33,7 +33,6 @@ 

  FILE_PATH="/usr/bin/journalctl"

  FILE_CONTEXT="journalctl_exec_t"

  SERVICE_PACKAGE="systemd"

- SERVICE_NAME=""

  PROCESS_NAME="journalctl"

  PROCESS_CONTEXT="journalctl_t"

  ALLOWED_USERS=${ALLOWED_USERS:-"staff_u user_u sysadm_u unconfined_u"}

@@ -30,7 +30,6 @@ 

  . /usr/share/beakerlib/beakerlib.sh || exit 1

  

  PACKAGE="selinux-policy"

- ROOT_PASSWORD="redhat"

  FILE_PATH="/bin/ping"

  FILE_CONTEXT="ping_exec_t"

  SERVICE_PACKAGE="iputils"