Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 185899 | Differences between
and this patch

Collapse All | Expand All

(-)appl/rcp/rcp.c.old (-1 / +1 lines)
Lines 34-40 Link Here
34
#include "rcp_locl.h"
34
#include "rcp_locl.h"
35
#include <getarg.h>
35
#include <getarg.h>
36
36
37
#define RSH_PROGRAM "rsh"
37
#define RSH_PROGRAM "krsh"
38
38
39
struct  passwd *pwd;
39
struct  passwd *pwd;
40
uid_t	userid;
40
uid_t	userid;
(-)appl/rcp/rcp_locl.h.old (-1 / +1 lines)
Lines 64-67 Link Here
64
#define	_PATH_CP	"/bin/cp"
64
#define	_PATH_CP	"/bin/cp"
65
#endif
65
#endif
66
#undef _PATH_RSH
66
#undef _PATH_RSH
67
#define	_PATH_RSH	BINDIR "/rsh"
67
#define	_PATH_RSH	BINDIR "/krsh"
(-)appl/telnet/telnetd/telnetd.h.old (-1 / +1 lines)
Lines 192-198 Link Here
192
#endif
192
#endif
193
193
194
#undef _PATH_LOGIN
194
#undef _PATH_LOGIN
195
#define _PATH_LOGIN	BINDIR "/login"
195
#define _PATH_LOGIN	BINDIR "/klogin"
196
196
197
/* fallbacks */
197
/* fallbacks */
198
198
(-)appl/login/shadow.c.old (-2 / +2 lines)
Lines 38-44 Link Here
38
#ifdef HAVE_SHADOW_H
38
#ifdef HAVE_SHADOW_H
39
39
40
#ifndef _PATH_CHPASS
40
#ifndef _PATH_CHPASS
41
#define _PATH_CHPASS "/usr/bin/passwd"
41
#define _PATH_CHPASS "/usr/bin/kpasswd"
42
#endif
42
#endif
43
43
44
static int
44
static int
Lines 52-58 Link Here
52
        printf("fork /bin/passwd");
52
        printf("fork /bin/passwd");
53
        exit(1);
53
        exit(1);
54
    case 0:
54
    case 0:
55
        execlp(_PATH_CHPASS, "passwd", who->pw_name, (char *) 0);
55
        execlp(_PATH_CHPASS, "kpasswd", who->pw_name, (char *) 0);
56
        exit(1);
56
        exit(1);
57
    default:
57
    default:
58
        waitpid(pid, &status, 0);
58
        waitpid(pid, &status, 0);

Return to bug 185899