summaryrefslogtreecommitdiff
path: root/security/krb5/files/patch-bc
diff options
context:
space:
mode:
Diffstat (limited to 'security/krb5/files/patch-bc')
-rw-r--r--security/krb5/files/patch-bc28
1 files changed, 0 insertions, 28 deletions
diff --git a/security/krb5/files/patch-bc b/security/krb5/files/patch-bc
deleted file mode 100644
index c80d9411629b..000000000000
--- a/security/krb5/files/patch-bc
+++ /dev/null
@@ -1,28 +0,0 @@
---- appl/bsd/krshd.c~ Thu Jun 29 22:27:05 2000
-+++ appl/bsd/krshd.c Sat Jan 6 12:57:23 2001
-@@ -160,6 +160,16 @@
- Key_schedule v4_schedule;
- #endif
-
-+#ifdef HAVE_PATHS_H
-+#include <paths.h>
-+#endif
-+
-+#if defined(_PATH_NOLOGIN)
-+#define NOLOGIN _PATH_NOLOGIN
-+#else
-+#define NOLOGIN "/etc/nologin"
-+#endif
-+
- #include "defines.h"
-
- #if HAVE_ARPA_NAMESER_H
-@@ -1119,7 +1129,7 @@
- goto signout_please;
- }
-
-- if (pwd->pw_uid && !access("/etc/nologin", F_OK)) {
-+ if (pwd->pw_uid && !access(NOLOGIN, F_OK)) {
- error("Logins currently disabled.\n");
- goto signout_please;
- }