- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disabling ftpd logging to syslog
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
Discussions
Discussions
Forums
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
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
тАО05-28-2008 12:19 PM
тАО05-28-2008 12:19 PM
Disabling ftpd logging to syslog
May 29 00:45:11 smsc1 ftpd[15385]: allowed connection from 10.131.22.5
May 29 00:45:12 smsc1 ftpd[15391]: allowed connection from 10.131.22.5
May 29 00:45:17 smsc1 ftpd[15413]: allowed connection from 10.131.22.5
May 29 00:45:17 smsc1 ftpd[15419]: allowed connection from 10.131.22.5
May 29 00:45:22 smsc1 ftpd[15441]: allowed connection from 10.131.22.5
May 29 00:45:23 smsc1 ftpd[15447]: allowed connection from 10.131.22.5
I would like to disable this logging as it fills up syslog.log
Problem is... logging is not enabled! So how does this happen? Your hints would be most welcome!
emx@smsc1 /var/adm/syslog> grep ftp /etc/inetd.conf
ftp stream tcp nowait root /usr/lbin/tcpd /usr/lbin/ftpd ftpd
emx@smsc1 /var/adm/syslog> ps -ef|grep inetd
root 3359 1 0 Mar 31 ? 27:54 /usr/sbin/inetd
I have tried to execute "inetd -l" (thinking it would toggle logging) but it made things worse by adding an extra
May 29 00:44:19 smsc1 inetd[15068]: ftp/tcp: Connection from unknown (10.131.22.5) at Thu May 29 00:44:19 2008
So it isn't "-l" in inetd.
It isn't "-l" in ftpd in inetd.conf either
Any idea??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2008 12:26 PM
тАО05-28-2008 12:26 PM
Re: Disabling ftpd logging to syslog
ftp stream tcp nowait root /usr/lbin/tcpd /usr/lbin/ftpd ftpd -l
Then inetd -c
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2008 12:31 PM
тАО05-28-2008 12:31 PM
Re: Disabling ftpd logging to syslog
From ftpd man page:
-l Causes each FTP session to be logged in the syslog file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2008 12:35 PM
тАО05-28-2008 12:35 PM
Re: Disabling ftpd logging to syslog
The problem was due to TCP Wrappers being installed (the "tcpd" in my inetd.conf ftpd line)
I removed "/usr/lbin/tcpd" (as it wasn't used anyway) and restarted inetd.
No more annoying syslog messages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2008 12:36 PM
тАО05-28-2008 12:36 PM
Re: Disabling ftpd logging to syslog
Removing tcpd solved the problem. If we need to enable access control, we'll use inetd.sec instead.