Hi,
I'd want to enable ftp logging on a SunOS 5.9 machine. I've read some guides I've found on the Internet but, in the syslog file, I stil not have information about that.
In the /etc/inetd.conf I have this line:
Finally I created ftp.log in /var/adm, but when I connect via ftp from another machine, I have no information in ftp.log.
I also tried without modifying syslog.conf file, for logging in the /var/adm/messages (is that the file where syslogd writes?), but stil nothing...
Though the problem is that, after adding "-d" option to the ftpd line in inetd.conf, I still haven't any kind of logging...
I also tried to add "-A" to disable ftpaccess but no result.
The only information that I can get is
Aug 1 11:55:50 timoteo ftpd[4941]: [ID 532633 daemon.notice] FTP LOGIN REFUSED (username in /etc/ftpd/ftpusers) FROM 192.168.2.26 [192.168.2.26], root
when I try to log in as root (that is in users denied access)
With other users I have no information in the log file.
Why it doesn't log to syslog?
couldnt you use "$ last {username}" to display the login entries recorded from any successfull logins from your ftp users? -otherwise, "$ dmesg | grep -i ftp" could possibly display you any errors in ftp (and other stuff containing ftp i dmesg).