spongebob1
2005-04-06, 03:39 AM CDT
Hi Everyone,
I moved from RedHat 7.3 to a FC3 box, got everything running, and started setting up FTP access. I was able through vsftp to setup chrooting for security and all that seems to work great. The thing I can't do is get it to log the login as well as failed login attempts to wtmp, like in RH7.x.
If you typed in last under RH7.x you would get something like so:
ftp ftpd17175 adsl-2-220-243.m Sun Apr 3 22:34 - 22:34 (00:00)
ftp ftpd17174 adsl-2-220-243.m Sun Apr 3 22:34 - 22:34 (00:00)
Allowing you to see both good & bad logins, but under FC3 I don't see that anywhere.
I looked through the docs, and configs and can't find how to do this.
The other STRANGE thing, is I stopped vsftpd with
/etc/rc.d/init.d/vsftpd stop
Then ran /etc/rc.d/init.d/vsftpd status to see that it said vsftpd is stopped, B U T
I can still FTP to the box without issue, and /etc/rc.d/init.d/vsftpd status still says its stopped. The other thing is I modified /etc/vsftpd.conf to insure that the welcome message said something different so that I can see if maybe some other FTP client was running, but when I log into the server I get the message I configured in vsftpd.conf, again with the server being stopped. Any Ideas are appreciated.
Thanks !!! Bob
I moved from RedHat 7.3 to a FC3 box, got everything running, and started setting up FTP access. I was able through vsftp to setup chrooting for security and all that seems to work great. The thing I can't do is get it to log the login as well as failed login attempts to wtmp, like in RH7.x.
If you typed in last under RH7.x you would get something like so:
ftp ftpd17175 adsl-2-220-243.m Sun Apr 3 22:34 - 22:34 (00:00)
ftp ftpd17174 adsl-2-220-243.m Sun Apr 3 22:34 - 22:34 (00:00)
Allowing you to see both good & bad logins, but under FC3 I don't see that anywhere.
I looked through the docs, and configs and can't find how to do this.
The other STRANGE thing, is I stopped vsftpd with
/etc/rc.d/init.d/vsftpd stop
Then ran /etc/rc.d/init.d/vsftpd status to see that it said vsftpd is stopped, B U T
I can still FTP to the box without issue, and /etc/rc.d/init.d/vsftpd status still says its stopped. The other thing is I modified /etc/vsftpd.conf to insure that the welcome message said something different so that I can see if maybe some other FTP client was running, but when I log into the server I get the message I configured in vsftpd.conf, again with the server being stopped. Any Ideas are appreciated.
Thanks !!! Bob