Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Sep 2001 20:40:55 +0200
From:      Piet Delport <pjd@siberiyan.dyndns.org>
To:        Salvo Bartolotta <bartequi@neomedia.it>
Cc:        freebsd-chat@freebsd.org
Subject:   Re: Scripts and setuid
Message-ID:  <20010905204055.A268@athalon>
In-Reply-To: <999708032.3b96558062cd2@webmail.neomedia.it>
References:  <999708032.3b96558062cd2@webmail.neomedia.it>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <siberiyan@mweb.co.za>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010905204055.A268>