From owner-freebsd-chat Wed Sep 5 11:41: 0 2001 Delivered-To: freebsd-chat@freebsd.org Received: from msg-proxy2.mweb.co.za (msg-proxy2.mweb.co.za [196.2.46.11]) by hub.freebsd.org (Postfix) with ESMTP id 128E837B40D for ; Wed, 5 Sep 2001 11:40:55 -0700 (PDT) Received: from athalon ([196.30.181.37]) by msg-proxy2.mweb.co.za (iPlanet Messaging Server 5.1 (built May 7 2001)) with SMTP id <0GJ7005ESD80P8@msg-proxy2.mweb.co.za> for freebsd-chat@freebsd.org; Wed, 05 Sep 2001 20:40:50 +0200 (SAST) Received: by athalon (sSMTP sendmail emulation); Wed, 05 Sep 2001 20:40:55 +0200 Date: Wed, 05 Sep 2001 20:40:55 +0200 From: Piet Delport Subject: Re: Scripts and setuid In-reply-to: <999708032.3b96558062cd2@webmail.neomedia.it> To: Salvo Bartolotta Cc: freebsd-chat@freebsd.org Message-id: <20010905204055.A268@athalon> MIME-version: 1.0 Content-type: multipart/signed; boundary=sdtB3X0nJg68CQEu; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.3.21i X-Operating-System: FreeBSD 4.4-RC X-Editor: VIM - Vi IMproved 6.0as BETA (http://www.vim.org/) X-Crypto: gpg (GnuPG) 1.0.6 (http://www.gnupg.org/) X-GPG-Key-ID: 0x6B191427 X-GPG-Fingerprint: C7FF A540 2199 F7BF 1933 5640 CD15 0FF3 6B19 1427 References: <999708032.3b96558062cd2@webmail.neomedia.it> Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 05 Sep 2001 at 18:40:32 +0200, Salvo Bartolotta wrote: [...] > > I initially tried playing around with the modes of /dev/acd0c and > > the /usr/sbin/cdcontrol binary, which works, but has the > > disadvantage of being overwritten whenever i "make world". >=20 > Maybe I am missing something. Surely your /dev/MAKEDEV.local doesn't > work? (cf MAKEDEV(8)) >=20 > Anyway, the [device-creating &] chmod'ing commands could be put in a > two-liner, or rather, a one-liner to be executed as part of your make > world. [snip] Ah, wasn't aware MAKEDEV.local was used for this. Thanks. :) That still leaves me with the original question though, why can't scripts be run setuid? --=20 Piet Delport Today's subliminal thought is: --sdtB3X0nJg68CQEu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7lnG3zRUP82sZFCcRApMMAJ0dvIKroK6Yy+brLzCGDIBAoOHyBQCePueZ 8l1bOP2QlgdApQRCV7b+k/E= =q2Oa -----END PGP SIGNATURE----- --sdtB3X0nJg68CQEu-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message