From 2467f99a267946648e1f54c4eb4703617db3c21e Mon Sep 17 00:00:00 2001 From: mrg Date: Tue, 21 May 1996 23:19:20 +0000 Subject: give up "games" if we have it. larn does not need it. --- larn/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'larn') diff --git a/larn/main.c b/larn/main.c index fcacc3cd..a17c2099 100644 --- a/larn/main.c +++ b/larn/main.c @@ -1,5 +1,5 @@ #ifndef lint -static char rcsid[] = "$NetBSD: main.c,v 1.7 1995/04/24 12:24:01 cgd Exp $"; +static char rcsid[] = "$NetBSD: main.c,v 1.8 1996/05/21 23:19:20 mrg Exp $"; #endif /* not lint */ /* main.c */ @@ -48,6 +48,7 @@ main(argc,argv) char *ptr=0,*ttype; struct passwd *pwe; + setuid(getuid()); /* give up "games" if we have it */ /* * first task is to identify the player */ -- cgit v1.2.3-56-ge451