From ace05c5084666e92aaf903444a3664ab8eaa7e64 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Mon, 7 Jul 1997 09:19:51 +0000 Subject: [PATCH] _PATH* extern variables prototypes git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2003 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/rsh/rsh_locl.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/appl/rsh/rsh_locl.h b/appl/rsh/rsh_locl.h index d2a2f7954..97e374319 100644 --- a/appl/rsh/rsh_locl.h +++ b/appl/rsh/rsh_locl.h @@ -15,18 +15,43 @@ #include #include #include +#include #include #include #include #include +#ifndef _PATH_NOLOGIN +#define _PATH_NOLOGIN "/etc/nologin" +#endif + +#ifndef _PATH_BSHELL +#define _PATH_BSHELL "/bin/sh" +#endif + +#ifndef _PATH_DEFPATH +#define _PATH_DEFPATH "/usr/bin:/bin" +#endif + /* * */ enum auth_method { AUTH_KRB4, AUTH_KRB5 }; +extern enum auth_method auth_method; +extern int do_encrypt; +extern krb5_context context; +extern krb5_keyblock *keyblock; +extern des_key_schedule schedule; +extern des_cblock iv; + #define KCMD_VERSION "KCMDV0.1" #define USERNAME_SZ 16 #define COMMAND_SZ 1024 + +#define RSH_BUFSIZ 10240 + +ssize_t do_read (int fd, void *buf, size_t sz); +ssize_t do_write (int fd, void *buf, size_t sz);