1 diff -ur bircd.orig/src/ircd.c bircd/src/ircd.c
2 --- bircd.orig/src/ircd.c 2004-01-07 20:15:56.000000000 +0100
3 +++ bircd/src/ircd.c 2004-08-02 19:23:00.389983904 +0200
5 (void)fprintf(stderr,"WARNING: running ircd with uid = %d\n",SET_UID);
6 (void)fprintf(stderr," changing to gid %d.\n",SET_GID);
8 - (void)setuid(SET_UID);
10 + (void)setuid(SET_UID);
12 /* check for setuid root as usual */
13 (void)fprintf(stderr,"ERROR: do not run ircd setuid root. Make it setuid a normal user.\n");
14 diff -ur bircd.orig/src/s_bsd.c bircd/src/s_bsd.c
15 --- bircd.orig/src/s_bsd.c 2004-01-11 09:42:08.000000000 +0100
16 +++ bircd/src/s_bsd.c 2004-08-02 19:54:40.710091336 +0200
18 if(((bootopt&BOOT_CONSOLE) || isatty(0)) && !(bootopt & (BOOT_INETD|BOOT_OPER)))
24 if((fd=open("/dev/tty",O_RDWR))>=0)