Index: inetd.c
===================================================================
RCS file: /data/ncvs/src/usr.sbin/inetd/inetd.c,v
retrieving revision 1.114
diff -u -r1.114 inetd.c
--- inetd.c	27 Oct 2002 17:46:52 -0000	1.114
+++ inetd.c	18 Dec 2002 15:50:52 -0000
@@ -812,7 +812,8 @@
 				}
 #ifdef LOGIN_CAP
 				if (setusercontext(lc, pwd, pwd->pw_uid,
-				    LOGIN_SETALL) != 0) {
+				    LOGIN_SETRESOURCES | LOGIN_SETPRIORITY)
+				    != 0) {
 					syslog(LOG_ERR,
 					 "%s: can't setusercontext(..%s..): %m",
 					 sep->se_service, sep->se_user);
