- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FTP Logging
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2003 02:41 PM
02-27-2003 02:41 PM
FTP Logging
Could you kindly share your experience with me?
How can FTP be configured to create a access and error log file? We need to find out who has been using FTP and when.
We are using HPUX v10.20's built in FTP.
Any clues, suggestions, tips or advise are greatly appreciated. Please advise.
I look forward to hearing from you. Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2003 02:47 PM
02-27-2003 02:47 PM
Re: FTP Logging
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2003 02:54 PM
02-27-2003 02:54 PM
Re: FTP Logging
HP-UX uses Washington University's free ftp server
For enhanced logging
vi /etc/inetd.conf
the line that says ftpd add a -l (dash letter lower case L)
save the file
inetd -c
enhanced logging is in place.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2003 02:55 PM
02-27-2003 02:55 PM
Re: FTP Logging
But I don't believe those options exist on 10.20. All you have is the -v option:
(1) modify /etc/inetd.conf to use the -v option:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -lv
(2) recycle the internet services daemon:
/usr/sbin/inetd -c
you should then get more info put into your syslog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2003 02:56 PM
02-27-2003 02:56 PM
Re: FTP Logging
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2003 03:11 PM
02-27-2003 03:11 PM
Re: FTP Logging
This is the output of ftpd -lv:
Feb 24 20:14:20 sarena01 ftpd[17081]: FTP LOGIN FROM sarena01, ikidd
Feb 24 20:14:22 sarena01 ftpd[17081]: PORT
Feb 24 20:14:31 sarena01 ftpd[17081]: PORT
Feb 24 20:14:31 sarena01 ftpd[17081]: FTP: retrieve slck
Feb 24 20:14:32 sarena01 ftpd[17081]: User ikidd logged out
It shows login/logout times as well as the fact that I retrieved (get) the file slck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2003 07:48 PM
02-27-2003 07:48 PM
Re: FTP Logging
like
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
ALso make sure that you have /etc/syslog.conf
local5.debug /var/adm/syslog/syslog.log
if you do not have then add it and then do a
kill -HUP `cat /var/run/syslog.pid`
to re-read the syslog.conf file