From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 8 15:59:20 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB7391065677 for ; Tue, 8 Apr 2008 15:59:20 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta1.srv.hcvlny.cv.net (mta1.srv.hcvlny.cv.net [167.206.4.196]) by mx1.freebsd.org (Postfix) with ESMTP id 93A148FC30 for ; Tue, 8 Apr 2008 15:59:20 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from flosoft.no-ip.biz (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta1.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JZ0006B1J0VX571@mta1.srv.hcvlny.cv.net> for freebsd-hackers@freebsd.org; Tue, 08 Apr 2008 11:29:19 -0400 (EDT) Received: from flosoft.no-ip.biz (localhost [IPv6:::1]) by flosoft.no-ip.biz (8.14.2/8.14.2) with ESMTP id m38FTI48061885 for ; Tue, 08 Apr 2008 11:29:19 -0400 Date: Tue, 08 Apr 2008 11:29:13 -0400 From: "Aryeh M. Friedman" To: freebsd-hackers@freebsd.org Message-id: <47FB8F49.6060105@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.6 User-Agent: Thunderbird 2.0.0.12 (X11/20080329) Subject: normal users calling setpriority(2) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2008 15:59:20 -0000 Is it possible via sysctl or some other method to allow non-superusers to set any priority they want. The specific question is I often want to set idprio 31 on stuff but don't want to switch to root to do it (I am the only user on the machine).