home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!nic.csu.net!gd!oleg
- Newsgroups: comp.sys.sun.admin
- Subject: Re: Problems with wuarchive ftpd
- Message-ID: <1993Jan21.041648.3894@nic.csu.net>
- From: oleg@gd. (Oleg Kibirev)
- Date: 21 Jan 93 04:16:45 PST
- References: <1993Jan15.130236.3772@infodev.cam.ac.uk> <chris.727473263@wuarchive.wustl.edu>
- Organization: Computer Science Departement of California State University in Fresno
- Keywords: ftpd, in.ftpd
- Nntp-Posting-Host: gd.cs.csufresno.edu
- Lines: 44
-
- In article <chris.727473263@wuarchive.wustl.edu> chris@wupost.wustl.edu (Chris Myers) writes:
- >gdc11@cus.cam.ac.uk (G.D. Carver) writes:
- >
- >>I've just installed the wuarchive.wustl.edu version of the Sun ftpd.
- >>It's working fine apart from the fact that the -l option, to log anon (or any)
- >>ftpd sessions doesn't appear to be working. I get nothing logged to
- >>the /var/log/syslog file. Can anyone help me out?
- >>
- >>My /etc/inetd.conf file has this entry:
- >>ftp stream tcp nowait root /usr/local/etc/ftpd ftpd -l -a
- >>
- >>I remembered to send inetd a HUP to get it to read the new inetd.conf.
- >>The access file is being used.
- >>
- >>Any ideas?
- >
- >It's a bug in SunOS. The short summary is that syslog, which is used
- >to log commands and such by the ftpd, breaks after a chroot() call.
- >chroot() is the function used to set up the anonymous FTP security such
- >that only files in the anonymous FTP hierarchy can be accessed.
- >
- >There is no fix available from Sun. A workaround is to replace the
- >standard syslog() with one that uses TCP (rather than UNIX domain
- >sockets) to contact the syslogd. I will be happy to mail this to
- >people on request. Please send E-MAIL to chris@wugate.wustl.edu if
- >you want the TCP syslog code (this means that if you request a copy
- >via news I will ignore you, mainly because I don't normally read this
- >newsgroup).
- >
-
- Well, unless you can put /dev directory and ~ftp on the same filesystem.
- Than making a hard link to /dev/log in ~ftp/dev/log should work fine.
-
- Oleg
-
- >Chris Myers
- >wuarchive.wustl.edu Archive Maintainer
- >--
- >Chris Myers Internet: chris@wugate.wustl.edu
- >Software Engineer UUCP: ...!uunet!wuarchive!chris
- >Office of the Network Coordinator BITNET: chris@wunet.bitnet
- >Washington University in Saint Louis Phone: +1 314 935 7390
-
-
-