- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FTP bad logins
Operating System - HP-UX
1752511
Members
4429
Online
108788
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО08-01-2000 08:27 AM
тАО08-01-2000 08:27 AM
FTP bad logins
How do I get my ftp bad logins to showup in my btmp file. Currently, we have realized that they show up as good logins in the wtmp file; but not as bad logins in the btmp file.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2000 08:33 AM
тАО08-01-2000 08:33 AM
Re: FTP bad logins
Edit /etc/inetd.conf file:
in ftp line start the ftpd daemon with -l option:
ftp stream tcp nowait root /usr/lbin/ftpd -l
recycle ined daemon: /usr/sbin/inetd -c.
That will allow to log ftp entries into syslog file (/var/adm/syslog/syslog.log).
in ftp line start the ftpd daemon with -l option:
ftp stream tcp nowait root /usr/lbin/ftpd -l
recycle ined daemon: /usr/sbin/inetd -c.
That will allow to log ftp entries into syslog file (/var/adm/syslog/syslog.log).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2000 08:38 AM
тАО08-01-2000 08:38 AM
Re: FTP bad logins
I am not sure if this will help you but the ftpd on the ftp server should be logging ALL calls to the /var/adm/syslog/syslog.log file if you have informational events turned on for logging. Here is a example:
Good loggin:
connection from ptscp536.ptsc.slg.eds.com at ftpd[29442]: FTP LOGIN FROM ptscnt6, pde
ftpd[29442]: PORT
ftpd[29442]: User pde logged out
Bad loggin:
connection from cxixnt5 at ftpd[289]: User root: Login incorrect
ftpd[290]: connection from cxixnt5
ftpd[290]: User deritag: Login incorrect
Tony
Good loggin:
connection from ptscp536.ptsc.slg.eds.com at ftpd[29442]: FTP LOGIN FROM ptscnt6, pde
ftpd[29442]: PORT
ftpd[29442]: User pde logged out
Bad loggin:
connection from cxixnt5 at ftpd[289]: User root: Login incorrect
ftpd[290]: connection from cxixnt5
ftpd[290]: User deritag: Login incorrect
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2000 08:39 AM
тАО08-01-2000 08:39 AM
Re: FTP bad logins
I don't know how to get bad ftp logins sent to the btmp file, but what I did was in /etc/inetd.conf change the end of the ftpd line to be ftpd -l -v
This will cause ftp information, including bad logins, to be logged to /var/adm/syslog/syslog.log
After making the change, issue the command inetd -c
Brian
<*(((>< er
This will cause ftp information, including bad logins, to be logged to /var/adm/syslog/syslog.log
After making the change, issue the command inetd -c
Brian
<*(((>< er
Perception IS Reality
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP