c905a2
diff --git a/sshd.c b/sshd.c
c905a2
index 8dcfdf2..95b63ad 100644
c905a2
--- a/sshd.c
c905a2
+++ b/sshd.c
c905a2
@@ -1592,6 +1592,10 @@ main(int ac, char **av)
c905a2
 	parse_server_config(&options, rexeced_flag ? "rexec" : config_file_name,
c905a2
 	    &cfg, NULL, NULL, NULL);
c905a2
 
c905a2
+	/* 'UsePAM no' is not supported in Fedora */
c905a2
+	if (! options.use_pam)
c905a2
+		logit("WARNING: 'UsePAM no' is not supported in Fedora and may cause several problems.");
c905a2
+
c905a2
 	seed_rng();
c905a2
 
c905a2
 	/* Fill in default values for those options not explicitly set. */
c905a2
diff --git a/sshd_config b/sshd_config
c905a2
index 8c16754..9f28b04 100644
c905a2
--- a/sshd_config
c905a2
+++ b/sshd_config
c905a2
@@ -92,6 +92,8 @@ GSSAPICleanupCredentials yes
c905a2
 # If you just want the PAM account and session checks to run without
c905a2
 # PAM authentication, then enable this but set PasswordAuthentication
c905a2
 # and ChallengeResponseAuthentication to 'no'.
c905a2
+# WARNING: 'UsePAM no' is not supported in Fedora and may cause several
c905a2
+# problems.
c905a2
 #UsePAM no
c905a2
 UsePAM yes
c905a2