From owner-freebsd-questions Thu Aug 27 08:45:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA27293 for freebsd-questions-outgoing; Thu, 27 Aug 1998 08:45:24 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from rucus.ru.ac.za (rucus.ru.ac.za [146.231.29.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA27077 for ; Thu, 27 Aug 1998 08:44:28 -0700 (PDT) (envelope-from nbm@rucus.ru.ac.za) Received: (qmail 4979 invoked by uid 1003); 27 Aug 1998 15:42:57 -0000 Message-ID: <19980827174257.D27059@rucus.ru.ac.za> Date: Thu, 27 Aug 1998 17:42:57 +0200 From: Neil Blakey-Milner To: Roman Katsnelson , "q's" Subject: Re: Root privileges without root References: <35E47654.E2BE73F5@graphnet.com> <19980827011001.A17427@rucus.ru.ac.za> <35E5706A.DFEA227C@graphnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <35E5706A.DFEA227C@graphnet.com>; from Roman Katsnelson on Thu, Aug 27, 1998 at 10:42:50AM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu 1998-08-27 (10:42), Roman Katsnelson wrote: > > Make a suid binary that does whatever you want for that time, and make > > sure only the web server, and not any of your users, can execute it? > > OK, I'd love to try it... but I don't know what suid is, either. The > book does not have an index entry for it, there is no man page, and a > search of the faq/handbook returned nothing I understood. > > I know I must be missing it, can someone tell me where this is > documented? In the man pages, at the very least. man chmod, for one, and chown too. These should tell you how to change file permissions to have files run as root. If you don't understand these concepts, however, you may have slight problems writing programs to use them properly. Neil -- Neil Blakey-Milner nbm@rucus.ru.ac.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message