Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2000 00:29:49 +0000 (GMT)
From:      George Reid <greid@ukug.uk.freebsd.org>
To:        Lu!s Croker <lcroker@megared.net.mx>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: SETUID !
Message-ID:  <Pine.BSF.4.21.0011140027560.94722-100000@sobek.nevernet.net>
In-Reply-To: <20001113182224.161b51e3.lcroker@megared.net.mx>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011140027560.94722-100000>