From owner-freebsd-scsi Thu Aug 22 13:18:10 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 035DD37B400 for ; Thu, 22 Aug 2002 13:18:09 -0700 (PDT) Received: from innocence.interface-business.de (innocence.interface-business.de [193.101.57.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B7AD43E6A for ; Thu, 22 Aug 2002 13:18:04 -0700 (PDT) (envelope-from j@uriah.heep.sax.de) Received: from innocence.interface-business.de (localhost.interface-business.de [127.0.0.1]) by innocence.interface-business.de (8.12.5/8.12.5/ifb evision: 1.23 $) with ESMTP id g7MKI28q023686 for ; Thu, 22 Aug 2002 22:18:02 +0200 (CEST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by innocence.interface-business.de (8.12.5/8.12.5/Submit) with UUCP id g7MKI2XJ023685 for freebsd-scsi@freebsd.org; Thu, 22 Aug 2002 22:18:02 +0200 (CEST) Received: from uriah.heep.sax.de (localhost.heep.sax.de [127.0.0.1]) by uriah.heep.sax.de (8.12.5/8.12.5) with ESMTP id g7MKBvBs032210 for ; Thu, 22 Aug 2002 22:11:57 +0200 (MET DST) (envelope-from j@uriah.heep.sax.de) Received: (from j@localhost) by uriah.heep.sax.de (8.12.5/8.12.5/Submit) id g7MKBvXe032209; Thu, 22 Aug 2002 22:11:57 +0200 (MET DST) (envelope-from j) Date: Thu, 22 Aug 2002 22:11:57 +0200 (MET DST) Message-Id: <200208222011.g7MKBvXe032209@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden 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 References: <200208221210.g7MCAcIl010562@enserg.enserg.fr> <20020822102423.A8968@panzer.kdm.org> From: j@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: Userland driver? X-Original-Newsgroups: local.freebsd.scsi To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org "Kenneth D. Merry" wrote: > You've got two choices: > > - make your program setuid root (which can potentially cause other > security problems) > or > - chmod 666 /dev/passN The third option would be writing a device driver. ;-) -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message