summaryrefslogtreecommitdiffstats
path: root/main/heimdal/014_all_heimdal-path.patch
blob: 36a86f1f93b5939d4351f331c38dc087ed420a46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
--- appl/rcp/rcp.c.old	2006-05-03 13:31:59.398493625 +0200
+++ appl/rcp/rcp.c	2006-05-03 13:32:04.494485981 +0200
@@ -34,7 +34,7 @@
 #include "rcp_locl.h"
 #include <getarg.h>
 
-#define RSH_PROGRAM "rsh"
+#define RSH_PROGRAM "krsh"
 
 struct  passwd *pwd;
 uid_t	userid;
--- appl/rcp/rcp_locl.h.old	2006-05-03 02:30:31.602025409 +0200
+++ appl/rcp/rcp_locl.h	2006-05-03 02:30:35.886018983 +0200
@@ -64,4 +64,4 @@
 #define	_PATH_CP	"/bin/cp"
 #endif
 #undef _PATH_RSH
-#define	_PATH_RSH	BINDIR "/rsh"
+#define	_PATH_RSH	BINDIR "/krsh"
--- appl/telnet/telnetd/telnetd.h.old	2006-05-03 02:23:14.582680939 +0200
+++ appl/telnet/telnetd/telnetd.h	2006-05-03 02:23:23.746667193 +0200
@@ -192,7 +192,7 @@
 #endif
 
 #undef _PATH_LOGIN
-#define _PATH_LOGIN	BINDIR "/login"
+#define _PATH_LOGIN	BINDIR "/klogin"
 
 /* fallbacks */
 
--- appl/login/shadow.c.old	2006-05-05 06:31:29.517138115 +0200
+++ appl/login/shadow.c	2006-05-05 06:32:26.433052741 +0200
@@ -38,7 +38,7 @@
 #ifdef HAVE_SHADOW_H
 
 #ifndef _PATH_CHPASS
-#define _PATH_CHPASS "/usr/bin/passwd"
+#define _PATH_CHPASS "/usr/bin/kpasswd"
 #endif
 
 static int
@@ -52,7 +52,7 @@
         printf("fork /bin/passwd");
         exit(1);
     case 0:
-        execlp(_PATH_CHPASS, "passwd", who->pw_name, (char *) 0);
+        execlp(_PATH_CHPASS, "kpasswd", who->pw_name, (char *) 0);
         exit(1);
     default:
         waitpid(pid, &status, 0);