diff options
Diffstat (limited to 'games/canfield/cfscores/cfscores.c')
-rw-r--r-- | games/canfield/cfscores/cfscores.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/games/canfield/cfscores/cfscores.c b/games/canfield/cfscores/cfscores.c index f758cf1..3be6b25 100644 --- a/games/canfield/cfscores/cfscores.c +++ b/games/canfield/cfscores/cfscores.c @@ -74,6 +74,11 @@ main(argc, argv) perror(_PATH_SCORE); exit(2); } + + /* revoke privs */ + setegid(getgid()); + setgid(getgid()); + setpwent(); if (argc == 1) { uid = getuid(); |