Blame openssh-6.1p1-log-usepam-no.patch
|
Petr Lautrbach |
9fe1af |
diff -up openssh-6.1p1/sshd.c.log-usepam-no openssh-6.1p1/sshd.c
|
|
Petr Lautrbach |
9fe1af |
--- openssh-6.1p1/sshd.c.log-usepam-no 2012-09-14 20:54:58.000000000 +0200
|
|
Petr Lautrbach |
9fe1af |
+++ openssh-6.1p1/sshd.c 2012-09-14 20:55:42.289477749 +0200
|
|
Petr Lautrbach |
9fe1af |
@@ -1617,6 +1617,10 @@ main(int ac, char **av)
|
|
Petr Lautrbach |
5bd5aa |
parse_server_config(&options, rexeced_flag ? "rexec" : config_file_name,
|
|
Petr Lautrbach |
9fe1af |
&cfg, NULL);
|
|
Petr Lautrbach |
5bd5aa |
|
|
Petr Lautrbach |
5bd5aa |
+ /* 'UsePAM no' is not supported in Fedora */
|
|
Petr Lautrbach |
5bd5aa |
+ if (! options.use_pam)
|
|
Petr Lautrbach |
5bd5aa |
+ logit("WARNING: 'UsePAM no' is not supported in Fedora and may cause several problems.");
|
|
Petr Lautrbach |
5bd5aa |
+
|
|
Petr Lautrbach |
5bd5aa |
seed_rng();
|
|
Petr Lautrbach |
5bd5aa |
|
|
Petr Lautrbach |
5bd5aa |
/* Fill in default values for those options not explicitly set. */
|
|
Petr Lautrbach |
9fe1af |
diff -up openssh-6.1p1/sshd_config.log-usepam-no openssh-6.1p1/sshd_config
|
|
Petr Lautrbach |
9fe1af |
--- openssh-6.1p1/sshd_config.log-usepam-no 2012-09-14 20:54:58.514255748 +0200
|
|
Petr Lautrbach |
9fe1af |
+++ openssh-6.1p1/sshd_config 2012-09-14 20:54:58.551255954 +0200
|
|
Petr Lautrbach |
9fe1af |
@@ -95,6 +95,8 @@ GSSAPICleanupCredentials yes
|
|
Petr Lautrbach |
5bd5aa |
# If you just want the PAM account and session checks to run without
|
|
Petr Lautrbach |
5bd5aa |
# PAM authentication, then enable this but set PasswordAuthentication
|
|
Petr Lautrbach |
5bd5aa |
# and ChallengeResponseAuthentication to 'no'.
|
|
Petr Lautrbach |
5bd5aa |
+# WARNING: 'UsePAM no' is not supported in Fedora and may cause several
|
|
Petr Lautrbach |
5bd5aa |
+# problems.
|
|
Petr Lautrbach |
5bd5aa |
#UsePAM no
|
|
Petr Lautrbach |
5bd5aa |
UsePAM yes
|
|
Petr Lautrbach |
5bd5aa |
|