Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP logs

Status
Not open for further replies.

chomca

Technical User
Jun 26, 2007
15
IN
Hi

In our company user will use FTP to transfer the file from one server to another server.if i (admin)want to find out what command has been used by the user.

For this we want to edit in /etc/xinetd.conf if i am correct.but i don know exactly what i want to do in /etc/xinetd.conf.
will you able help me in this one.

Thanks in advance
 
You could try to enable syslogd by adding the following to /etc/syslogd.conf

1) In /etc/syslog.conf, add the line:
daemon.debug /tmp/daemon.log

2) # touch /tmp/daemon.log
# refresh -s syslogd

3) Modify your inetd.conf so that ftpd is called with the "-l" flag.
You may also want the "-d" flag. This can be done with 'smit inetdconf'.

All the syslog messages from various system daemons should now appear in
the file "/tmp/daemon.log".



Mike

"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top