$Log$
+ Revision 573.113 2001/03/11 22:09:20 ajc
+ * Replaced the "citlogin" binary wrapper with the "loginwrapper.sh" script.
+
Revision 573.112 2001/03/11 20:06:53 ajc
* Fixed bug that created incorrect roomnames when sending pages
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
+++ /dev/null
-/*
- * $Id$
- *
- * A simple wrapper for the Citadel client. This allows telnetd to call
- * Citadel without a system login.
- *
- */
-
-#include <stdlib.h>
-#include <unistd.h>
-#include <fcntl.h>
-#include <stdio.h>
-#include <time.h>
-#include <string.h>
-#include <errno.h>
-#include "citadel.h"
-
-void get_config(void);
-struct config config;
-
-int main (int argc, char **argv) {
- get_config();
- setuid(config.c_bbsuid);
- execlp("./citadel", "citadel", NULL);
- exit(errno);
-}