diff --git a/openssh-7.8p1-UsePAM-warning.patch b/openssh-7.8p1-UsePAM-warning.patch index 8560c9f..feedcba 100644 --- a/openssh-7.8p1-UsePAM-warning.patch +++ b/openssh-7.8p1-UsePAM-warning.patch @@ -5,9 +5,9 @@ diff -up openssh-8.6p1/sshd.c.log-usepam-no openssh-8.6p1/sshd.c parse_server_config(&options, rexeced_flag ? "rexec" : config_file_name, cfg, &includes, NULL); -+ /* 'UsePAM no' is not supported in Fedora */ ++ /* 'UsePAM no' is not supported in RHEL */ + if (! options.use_pam) -+ logit("WARNING: 'UsePAM no' is not supported in Fedora and may cause several problems."); ++ logit("WARNING: 'UsePAM no' is not supported in RHEL and may cause several problems."); + #ifdef WITH_OPENSSL if (options.moduli_file != NULL) @@ -19,7 +19,7 @@ diff -up openssh-8.6p1/sshd_config.log-usepam-no openssh-8.6p1/sshd_config # If you just want the PAM account and session checks to run without # PAM authentication, then enable this but set PasswordAuthentication # and KbdInteractiveAuthentication to 'no'. -+# WARNING: 'UsePAM no' is not supported in Fedora and may cause several ++# WARNING: 'UsePAM no' is not supported in RHEL and may cause several +# problems. #UsePAM no diff --git a/openssh.spec b/openssh.spec index 22f4854..92f4a7a 100644 --- a/openssh.spec +++ b/openssh.spec @@ -687,6 +687,8 @@ test -f %{sysconfig_anaconda} && \ * Wed Jun 29 2022 Zoltan Fridrich - 8.7p1-9 - Update minimize-sha1-use.patch to use upstream code Related: rhbz#2031868 +- Change product name from Fedora to RHEL in openssh-7.8p1-UsePAM-warning.patch + Resolves: rhbz#2064338 * Mon Feb 21 2022 Dmitry Belyavskiy - 8.7p1-8 - Workaround for RHEL 8 incompatibility in scp utility in SFTP mode