From owner-freebsd-questions@FreeBSD.ORG Fri Aug 22 15:08:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D54EE1065673 for ; Fri, 22 Aug 2008 15:08:28 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 014518FC16 for ; Fri, 22 Aug 2008 15:08:27 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m7MF8GIJ035554; Fri, 22 Aug 2008 17:08:16 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m7MF8G74035551; Fri, 22 Aug 2008 17:08:16 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 22 Aug 2008 17:08:16 +0200 (CEST) From: Wojciech Puchar To: freebsd-questions@freebsd.org, wojtek@wojtek.tensor.gdynia.pl In-Reply-To: <200808221434.m7MEYTRc063711@lurza.secnetix.de> Message-ID: <20080822170745.R35550@wojtek.tensor.gdynia.pl> References: <200808221434.m7MEYTRc063711@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Re: rtprio + su - doesn't work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2008 15:08:28 -0000 > > I'm not sure what's wrong, but it works fine for me: > > # rtprio 31 su -m nobody -c 'id; /usr/sbin/rtprio' > uid=65534(nobody) gid=65534(nobody) groups=65534(nobody) > rtprio: realtime priority 31 > # > > This is on 7-stable (a few months old, though). i have 7 stable too. no idea :) maybe asterisk have something in it's code that drops that privilege.