Re: Outstanding question
marrandy <[email protected]> Sun, 9 Feb 2003 08:35:57 -0500
| Newsgroups | gmane.comp.djb.publicfile |
|---|---|
| Message-ID | <[email protected]> |
On Sunday 09 February 2003 02:24 am, you wrote: > On Sat, Feb 08, 2003 at 11:17:11PM -0500, marrandy wrote: > > It reminded me that when I ps waux, I see it running as root although > > it later sheds those privelidges. > > No, you should be seeing /tcpserver/ running as root -- it spawns ftpd > or httpd after accepting a connection. Oop's...your right. What was I thinking when I typed that. > My question is how do you verify that everything is working fine and it has > shed privilidges etc. > > As a one-off test, simply replace the call to httpd in your run script > with /usr/bin/id (or whatever utility you use to determine the real and > effective UIDs/GIDs on your system) and restart the service. Then telnet > to your httpd port and see for yourself. Once you're satisfied, undo > the above change and restart the service again. > > - Adrian > > Great Adrian..thanks :-) Anyone tried William Baxters derivative server, especially the cgi server ? Regards...Martin -- Linux, FreeBSD, NetBSD, OpenBSD - windows killers at the server and desktop Open Office - a free windows/unix MS office replacement - http://www.openoffice.org Open Format file types, Open Source software, thin-clients - money and sanity savers