diff --git a/lib/roken/iruserok.c b/lib/roken/iruserok.c new file mode 100644 index 000000000..e23567272 --- /dev/null +++ b/lib/roken/iruserok.c @@ -0,0 +1,18 @@ +#include "bsd_locl.h" + +#ifndef HAVE_IRUSEROK + +int __check_rhosts_file = 1; +char *__rcmd_errstr = 0; + + +/* + * Returns 0 if ok, -1 if not ok. + */ +int +iruserok(u_int32_t raddr, int superuser, const char *ruser, const char *luser) +{ + return -1; +} + +#endif /* !HAVE_IRUSEROK */