Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2000 18:51:37 -0600
From:      Lu!s Croker <lcroker@megared.net.mx>
To:        George Reid <greid@dogma.freebsd-uk.eu.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: SETUID !
Message-ID:  <20001113185137.47d046ef.lcroker@megared.net.mx>
In-Reply-To: <Pine.BSF.4.21.0011140027560.94722-100000@sobek.nevernet.net>
References:  <20001113182224.161b51e3.lcroker@megared.net.mx> <Pine.BSF.4.21.0011140027560.94722-100000@sobek.nevernet.net>

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


   Hi.. I know SUDO, but I don't want use it for this process... I need something like Setuid.. but this is not working... what's worng ??


On Tue, 14 Nov 2000 00:29:49 +0000 (GMT)
George Reid <greid@dogma.freebsd-uk.eu.org> wrote:

 | |  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


==|==|


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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