Re: [Off Topic] how to fix Mandrake's coredump prob.

From: Juliano Ravasi Ferraz (jferraz@linkway.com.br)
Date: 03/08/00


Hi George.

> _Please_ do not tell me you are running the MUD as root...

May be interesting to add this to main() function of CircleMUD:

#ifdef CIRCLE_UNIX
if (!getuid()) {
  fprintf(stderr, "Please, *DO*NOT* run CircleMUD as root! Someone may
get hurt!\r\n");
  exit(1);
}
#endif

This will encourage newbie coders to learn more about the OS before
running CircleMUD.
This idea may be enhanced by adding a touch(KILLSCRIPT_FILE), and an
entry to the running.doc file explaining this.

,--[ Juliano Ravasi Ferraz, F.R+C ]--------------------.
|   `-[ jferraz@linkway.com.br ]----------------------.|
|                                                      |
| Rayon Eletônica e Informática Ltda - Diretor Técnico |
|    Linkway Internet Provider - Unidade Descalvado    |
`------------------------------------------------------'
PGP public key 0x6DD4F051 at http://keys.pgpi.net:11371


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/10/01 PDT