cvs commit: src/libexec/ftpd ftpd.c
Yar Tikhiy
yar at FreeBSD.org
Thu Nov 18 02:02:29 PST 2004
yar 2004-11-18 10:02:28 UTC
FreeBSD src repository
Modified files:
libexec/ftpd ftpd.c
Log:
Log pathname arguments to ftp commands as the user specified them;
add the working directory pathname to the log message if any of
such arguments isn't absolute. This has advantage over the old
way of logging that an admin can see what users are actually trying
to do, and where. The old code was also not too robust when it
came to a chrooted session and an absolute pathname.
Pointed out by: Nick Leuta
MFC after: 2 weeks
Revision Changes Path
1.184 +55 -33 src/libexec/ftpd/ftpd.c
More information about the cvs-all
mailing list