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