<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Tracking down failed FTP logins in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-down-failed-ftp-logins/m-p/3061814#M905014</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;'lastb' will only work if bad login accounting is enabled.  The absence of '/var/adm/btmp' means that bad login accounting is *disabled*.  To enable it, as the root user, do:&lt;BR /&gt;&lt;BR /&gt;# touch /var/adm/btmp&lt;BR /&gt;# chmod 600 /var/adm/btmp&lt;BR /&gt;&lt;BR /&gt;For security reasons, only the owner (root) should have access.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Tue, 02 Sep 2003 19:31:52 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2003-09-02T19:31:52Z</dc:date>
    <item>
      <title>Tracking down failed FTP logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-down-failed-ftp-logins/m-p/3061809#M905009</link>
      <description>Aloha All,&lt;BR /&gt;&lt;BR /&gt;I've been receiving periodic complaints from one of our customers about not being able to log into their ftp account on one of our HP-UX 11.0 servers.  It seems that it works fine one day, but the account has been disable the next time they try to use it.  Sometimes the time between good and bad is only a day or two.  At other times, it has been a couple of weeks.  I've looked through the console logs and the syslog, and I can see lots of failed login attempts, but I can't find out where they are coming from.  The syslog shows the IP address for successful logins, but not, apparently, for failed logins.  &lt;BR /&gt;&lt;BR /&gt;Is there another place I should be looking that will show me where these failed logins are coming from?  My suspicion is that is that there is a PC out there that still has an old password defined in a batch process.  I'd like to be able to prove or dispel this theory.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any and all help.</description>
      <pubDate>Tue, 02 Sep 2003 19:02:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-down-failed-ftp-logins/m-p/3061809#M905009</guid>
      <dc:creator>Chuck Sims</dc:creator>
      <dc:date>2003-09-02T19:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking down failed FTP logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-down-failed-ftp-logins/m-p/3061810#M905010</link>
      <description>Have tried :&lt;BR /&gt;&lt;BR /&gt;# who -a /var/adm/btmp&lt;BR /&gt;&lt;BR /&gt;That should output where the bad connections are coming from.&lt;BR /&gt;&lt;BR /&gt;HTH.</description>
      <pubDate>Tue, 02 Sep 2003 19:08:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-down-failed-ftp-logins/m-p/3061810#M905010</guid>
      <dc:creator>Brian Bergstrand</dc:creator>
      <dc:date>2003-09-02T19:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking down failed FTP logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-down-failed-ftp-logins/m-p/3061811#M905011</link>
      <description>I would add the -l and -v options to your ftp entry in /etc/inetd.conf. This will greatly increase the logging of the ftpd daemon. After making the change to the inetd.conf, issue an "inetd -c" command to signal inetd too reread the configuration file.&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Sep 2003 19:10:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-down-failed-ftp-logins/m-p/3061811#M905011</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-09-02T19:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking down failed FTP logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-down-failed-ftp-logins/m-p/3061812#M905012</link>
      <description>use last -R for sucessful logins and lastb -R for unsuccessful&lt;BR /&gt;This command will give you all the details you are looking for.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Tue, 02 Sep 2003 19:10:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-down-failed-ftp-logins/m-p/3061812#M905012</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2003-09-02T19:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking down failed FTP logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-down-failed-ftp-logins/m-p/3061813#M905013</link>
      <description>You may run this command:&lt;BR /&gt;&lt;BR /&gt; lastb -R |grep ftp&lt;BR /&gt;&lt;BR /&gt;Elena.</description>
      <pubDate>Tue, 02 Sep 2003 19:12:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-down-failed-ftp-logins/m-p/3061813#M905013</guid>
      <dc:creator>Elena Leontieva</dc:creator>
      <dc:date>2003-09-02T19:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking down failed FTP logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-down-failed-ftp-logins/m-p/3061814#M905014</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;'lastb' will only work if bad login accounting is enabled.  The absence of '/var/adm/btmp' means that bad login accounting is *disabled*.  To enable it, as the root user, do:&lt;BR /&gt;&lt;BR /&gt;# touch /var/adm/btmp&lt;BR /&gt;# chmod 600 /var/adm/btmp&lt;BR /&gt;&lt;BR /&gt;For security reasons, only the owner (root) should have access.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 02 Sep 2003 19:31:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-down-failed-ftp-logins/m-p/3061814#M905014</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-09-02T19:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking down failed FTP logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-down-failed-ftp-logins/m-p/3061815#M905015</link>
      <description>Chuck,&lt;BR /&gt;&lt;BR /&gt;Try running:&lt;BR /&gt;# inetd -l&lt;BR /&gt;&lt;BR /&gt;This will turn on connection logging.  Then in your /var/adm/syslog file, just prior to the FTP instance, you will see the TCP connection with the IP address.&lt;BR /&gt;&lt;BR /&gt;Here is an example from my system:&lt;BR /&gt;Before running inetd -l&lt;BR /&gt;Sep  2 16:39:06 ddfin01 ftpd[21530]: User root: Login incorrect&lt;BR /&gt;Sep  2 16:39:07 ddfin01 ftpd[21530]: FTP session closed&lt;BR /&gt;&lt;BR /&gt;After running inetd -l&lt;BR /&gt;Sep  2 16:39:15 ddfin01 inetd[1112]: Connection logging enabled&lt;BR /&gt;Sep  2 16:39:19 ddfin01 inetd[21556]: ftp/tcp: Connection from fang (10.10.2.103&lt;BR /&gt;) at Tue Sep  2 16:39:19 2003&lt;BR /&gt;Sep  2 16:39:24 ddfin01 ftpd[21556]: pam_authenticate: Authentication failed&lt;BR /&gt;Sep  2 16:39:24 ddfin01 ftpd[21556]: User root: Login incorrect&lt;BR /&gt;Sep  2 16:39:25 ddfin01 ftpd[21556]: FTP session closed&lt;BR /&gt;&lt;BR /&gt;The failed IP address shows up now.&lt;BR /&gt;&lt;BR /&gt;I don't know that btmp is going to get failed FTP logins.&lt;BR /&gt;&lt;BR /&gt;Jim</description>
      <pubDate>Tue, 02 Sep 2003 19:45:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-down-failed-ftp-logins/m-p/3061815#M905015</guid>
      <dc:creator>Jim Mallett</dc:creator>
      <dc:date>2003-09-02T19:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking down failed FTP logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-down-failed-ftp-logins/m-p/3061816#M905016</link>
      <description>ps...  &lt;BR /&gt;&lt;BR /&gt;When you get the information you want, run inetd -l again to shut it off.  This will list all attempted connections to services so the syslog file can get big quick.&lt;BR /&gt;&lt;BR /&gt;Jim&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Sep 2003 19:55:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-down-failed-ftp-logins/m-p/3061816#M905016</guid>
      <dc:creator>Jim Mallett</dc:creator>
      <dc:date>2003-09-02T19:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking down failed FTP logins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tracking-down-failed-ftp-logins/m-p/3061817#M905017</link>
      <description>Aloha All,&lt;BR /&gt;&lt;BR /&gt;Thanks to everyone for the very helpful suggestions.  I've turned on connection logging with inetd -l and it's working great.  The other suggestions were excellent, also, and have given me some more tools to use in tracking down this problem.&lt;BR /&gt;&lt;BR /&gt;Thanks again...&lt;BR /&gt;&lt;BR /&gt;Chuck</description>
      <pubDate>Wed, 17 Sep 2003 03:11:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tracking-down-failed-ftp-logins/m-p/3061817#M905017</guid>
      <dc:creator>Chuck Sims</dc:creator>
      <dc:date>2003-09-17T03:11:35Z</dc:date>
    </item>
  </channel>
</rss>

