- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ftp logs
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
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
11-16-2006 09:52 PM
11-16-2006 09:52 PM
ftp logs
i am pretty new to unix. i would like to know where to see for ftp logs. and whether the user has logged in successfully or how many unsuccesful attempts he has made.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2006 09:57 PM
11-16-2006 09:57 PM
Re: ftp logs
and welcome to the forums.
The commands last and lastb will show you the user info you wanted. See "man last".
What sort of ftp log information are you after ?
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2006 10:43 PM
11-16-2006 10:43 PM
Re: ftp logs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2006 10:45 PM
11-16-2006 10:45 PM
Re: ftp logs
Even /var/adm/syslog/syslog.log logs the ftp connections
Thanks,
siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2006 10:59 PM
11-16-2006 10:59 PM
Re: ftp logs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2006 11:15 PM
11-16-2006 11:15 PM
Re: ftp logs
If you havent rebooted the system for the past one month , then
grep -i ftp < /var/adm/syslog/syslog.log will give all the ftp sessions for the month.
If you have rebooted only once ,
Then
grep -i ftp < /var/adm/syslog/syslog.log
and
grep -i ftp < /var/adm/syslog/OLDsyslog.log
will give you the sessions for the last month.
Thanks
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2006 06:21 PM
11-19-2006 06:21 PM
Re: ftp logs
Hi,
Check your '/etc/inetd.conf' if logging is enabled in the first place.
It should read something like this.
#ftp stream tcp nowait root /usr/sbin/ftpd ftpd -l
" -l" is the minimum loggign level.
It is possible to redirect / increase the logging level of 'ftpd'. Check 'man ftpd' for more information.
Finally, run 'tail -f /var/adm/syslog/syslog.log' and one terminal and do a local ftp on another terminal and see if it is getting logged.
BR
Vasu