Re: [EXIM] setting a UID for Exim

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Pollywog
CC: exim-users
Tárgy: Re: [EXIM] setting a UID for Exim
On Thu, 28 Jan 1999, Pollywog wrote:

> > You can put the uid/gid in the configure file. The build-time settings
> > merely provide defaults in the binary.
>
> I will try it.


You said you were running a daemon, and you were running with GID=0, but
it wouldn't run with another GID. Now, I'm confused as to whether you
have got it setuid root or not at present, but:

In order to start up a daemon you need to have root privilege. Port 25
is a privileged port. Therefore you need either

(a) to have exim setuid root so that anybody can start it

or

(b) be running as root when you start the daemon

If it doesn't have the privilege, I would expect it to complain on its 
log file. OTOH, if it doesn't have enough privilege to write to its log 
file ...  (You could try looking also as syslog.)     



-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--
*** Exim information can be found at http://www.exim.org/ ***