- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Ftp account disable
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
03-27-2006 10:48 PM
03-27-2006 10:48 PM
Ftp account disable
We have implemented TCB in our server.
Can I find out the IP Address of the FTP User who tries ftp login more than three times with wrong password
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 10:53 PM
03-27-2006 10:53 PM
Re: Ftp account disable
would there not be a log in /var/adm/syslog/syslog.log ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 10:59 PM
03-27-2006 10:59 PM
Re: Ftp account disable
inetd -l
You can also enhance logging of some protocols by adding the -l paramter to the setup of the daemon in /etc/inted.conf
Note that for ssh, there have been some problems with certain versions that disabled logging. You will need the most recent secure shell server from http://software.hp.com to avoid this issue.
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
03-27-2006 11:00 PM
03-27-2006 11:00 PM
Re: Ftp account disable
In syslog I am getting logs for successful login .If the user tries wrong password three times ,the account gets locked .We want to find out the IP Address of user who made the system account locked.Is there any option that can use with ftpd in inetd.conf.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 11:05 PM
03-27-2006 11:05 PM
Re: Ftp account disable
1. /var/adm/wtmp
2. /var/adm/syslog/syslog.log
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 11:09 PM
03-27-2006 11:09 PM
Re: Ftp account disable
From wtmp we will not get ftp login details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 11:33 PM
03-27-2006 11:33 PM
Re: Ftp account disable
If you went TCB, that means your system is trusted. Unless you change it, be default a trusted system is going to disable a user after three consecutive bad logins.
passwd -sa
That command should produce a report of the bad users. But to actually disable the account you should not have to do anything.
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
03-27-2006 11:40 PM
03-27-2006 11:40 PM
Re: Ftp account disable
when I try to log onto my (untrusted) system with an invalid password I see in the syslog.log.
IP addresses and username removed to protect the innocent.
Mar 28 12:56:57 tpol inetd[26625]: registrar/tcp: Connection from tpol (
Mar 28 12:57:06 tpol inetd[26626]: ftp/tcp: Connection from unknown (
Mar 28 12:57:12 tpol ftpd[26626]: pam_authenticate: Authentication failed
Mar 28 12:57:12 tpol ftpd[26626]: User
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 12:28 AM
03-28-2006 12:28 AM
Re: Ftp account disable
look at ftpd entry in /etc/inetd.conf : if having -l flag, for example:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -a
the log will look like:
Mar 28 15:19:27 rasteau inetd[18263]: ftp/tcp: Connection from unknown (139.54.129.205) at Tue Mar 28 15:19:27 2006
Mar 28 15:19:30 rasteau ftpd[18263]: cannot stat private access file /etc/ftpd/ftpgroups: No such file or directory
Mar 28 15:19:30 rasteau ftpd[18263]: USER sydfks
Mar 28 15:19:31 rasteau ftpd[18263]: PASS password
Mar 28 15:19:31 rasteau ftpd[18263]: User sydfks: Login incorrect
Mar 28 15:19:31 rasteau ftpd[18263]: SYST
Mar 28 15:19:31 rasteau ftpd[18263]: TYPE Image
Mar 28 15:19:37 rasteau inetd[1104]: Connection logging disabled
Mar 28 15:20:19 rasteau ftpd[18263]: QUIT
Mar 28 15:20:19 rasteau ftpd[18263]: FTP session closed