From owner-freebsd-hackers Tue Jun 17 00:28:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA29539 for hackers-outgoing; Tue, 17 Jun 1997 00:28:29 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id AAA29528 for ; Tue, 17 Jun 1997 00:28:26 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA00484; Tue, 17 Jun 1997 09:28:24 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id KAA07062; Sun, 15 Jun 1997 10:38:32 +0200 (MET DST) Message-ID: <19970615103831.BN11477@uriah.heep.sax.de> Date: Sun, 15 Jun 1997 10:38:31 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: hackers@FreeBSD.ORG Cc: luigi@iet.unipi.it (Luigi Rizzo) Subject: Re: rtprio from non-root users ? References: X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: ; from Luigi Rizzo on Jun 9, 1997 22:25:58 +0200 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Luigi Rizzo wrote: > I am trying to allow non-root accounts to use CD-R devices. The rtprio there is probably overly paranoid. In my original scripts, i forgot to add the rtprio to the dd part of the pipeline, and i've been using it this way for quite a long time without any problem. :) (Note that this made the rtprio basically meaningless, since it only applied to the unimportant disk-reading team process, but not to the important CD-R writing dd.) At any rate, if you insist on the rtprio, write a setuid Perl script. That's the simplest solution, and it doesn't even require any additional software (like sudo). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)