From owner-freebsd-questions Mon Nov 13 16:26:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta07-svc.ntlworld.com (unknown [62.253.162.47]) by hub.freebsd.org (Postfix) with ESMTP id CA30C37B479 for ; Mon, 13 Nov 2000 16:26:25 -0800 (PST) Received: from m95-mp1-cvx1b.gui.ntl.com ([62.252.8.95]) by mta07-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20001114002617.OYYT13163.mta07-svc.ntlworld.com@m95-mp1-cvx1b.gui.ntl.com>; Tue, 14 Nov 2000 00:26:17 +0000 Date: Tue, 14 Nov 2000 00:29:49 +0000 (GMT) From: George Reid X-Sender: geeorgy@sobek.nevernet.net To: Lu!s Croker Cc: freebsd-questions@freebsd.org Subject: Re: SETUID ! In-Reply-To: <20001113182224.161b51e3.lcroker@megared.net.mx> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 13 Nov 2000, Lu!s Croker wrote: > Hi.... > > I'm making a script which will be executed by an user for creation > of mail accounts, but I don't want to tell him the root password. How > I can execute the script with root privileges whitout be root?? > > chmod 4755 script don't works !!! > > Can anybody help me ??? I need a setuid ?? > > Greetings and sorry by my bad English... The kernel will not hono(u)r setuid scripts. Try investigating either calife or sudo in the ports. These allow you to specify commands that certain users can run as root. G --- "And then it comes to be that the soothing light at the end of your tunnel was just a freight train, comin' your way." George Reid * greid@ukug.uk.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message