Date: Mon, 7 Apr 1997 17:54:16 +0200 (MET DST) From: Antonio Nati <A.Nati@cisco.it> To: freebsd-questions@FreeBSD.ORG Subject: Apache and effective user id Message-ID: <199704071554.RAA05327@cisco.it>
next in thread | raw e-mail | index | archive | help
Probably I'm missing something about Apache or about uid and euid. I'm running apache, with user = nobody (= 65536). When I run a CGI program I have the following situation: after start: getuid = 65536 geteuid = 0 after setuid(0) and seteuid(0): getuid = 0 geteuid = 0 Is that correct? Should instead Apache start my program with euid = 65536? Isn't euid the effective user id during the run of a program (the one I may modify with chmod 4xxx), that's to say the one that gives me the real access privileges? Tonino
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704071554.RAA05327>