Index: ossp-pkg/petidomo/main.c RCS File: /v/ossp/cvs/ossp-pkg/petidomo/main.c,v rcsdiff -q -kk '-r1.10' '-r1.11' -u '/v/ossp/cvs/ossp-pkg/petidomo/main.c,v' 2>/dev/null --- main.c 2001/01/19 12:49:44 1.10 +++ main.c 2001/01/19 13:05:13 1.11 @@ -75,6 +75,11 @@ who_am_i = text_easy_sprintf("%s/%s", buf, argv[0]); } + /* Set our real user id equal to the effective user id to avoid + confusion in case we're started as a setuid binary. */ + + setreuid(geteuid(), geteuid()); + /* Parse the command line. */ argv_help_string = "Petidomo Mailing List Server";