<?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: ftp sessions log in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277150#M179740</link>
    <description>thanx michael schulte, giving kill -HUP solved my problem. Can u explain what does kill -1 (HUP) does. As only putting the -l flag in the inetd.conf file did not work.</description>
    <pubDate>Mon, 17 May 2004 05:18:54 GMT</pubDate>
    <dc:creator>shashang</dc:creator>
    <dc:date>2004-05-17T05:18:54Z</dc:date>
    <item>
      <title>ftp sessions log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277143#M179733</link>
      <description>hello guys,&lt;BR /&gt;I am using unix tru64 4.0f. Is there any way in which I can record the ftp session connecting my server along with the user id.&lt;BR /&gt;Thanx in anticipation.&lt;BR /&gt;&lt;BR /&gt;shashang.</description>
      <pubDate>Sat, 15 May 2004 03:12:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277143#M179733</guid>
      <dc:creator>shashang</dc:creator>
      <dc:date>2004-05-15T03:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: ftp sessions log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277144#M179734</link>
      <description>As far as i know there is no special file for FTP log. You have to edit syslog file for this.&lt;BR /&gt;&lt;BR /&gt;This is what i will do on HPUX M/c.&lt;BR /&gt;(Go thr SAM, go to syslog viewer and user Filter to get the FTP related log from syslog.log file.) &lt;BR /&gt;&lt;BR /&gt;See if you can do same thing on TRU64.4&lt;BR /&gt;&lt;BR /&gt;Hope this helps you out.&lt;BR /&gt;</description>
      <pubDate>Sat, 15 May 2004 03:41:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277144#M179734</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-05-15T03:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: ftp sessions log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277145#M179735</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This is the HPUX forum and not the Tru64 forum. So if i am not correct, i have an excuse....&lt;BR /&gt;&lt;BR /&gt;the ftpd is spawned by the inetd, to alter the logging of that deamon you will have to edit the /etc/inetd.conf. There should be a line that has ftpd in it. Alter that line so the ftpd is started in debugging mode. ftpd -dl&lt;BR /&gt;In addition to that you can alter the /etc/syslog.conf so all ftp warnings are logged. ( check man pages for exact syntax please)&lt;BR /&gt; &lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Gideon&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 15 May 2004 15:08:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277145#M179735</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2004-05-15T15:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: ftp sessions log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277146#M179736</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you may want to add -dl to the ftpd entry in /etc/inetd.conf. Then do a kill -HUP on the inetd and you should have a log of ftp activity including user and commands in /var/adm/syslog.dated/current/daemon.log or user.log.&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Sat, 15 May 2004 15:28:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277146#M179736</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-05-15T15:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: ftp sessions log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277147#M179737</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;at /etc/inetd.conf, look for the ftp line. at the end of the line, default is "ftpd -l". replace it with "ftp -oil" and do this to re-start inetd:&lt;BR /&gt;&lt;BR /&gt;# inetd -c&lt;BR /&gt;&lt;BR /&gt;this will generate a log file, xferlog under the directory, /var/adm/syslog/&lt;BR /&gt;&lt;BR /&gt;however, take note that -o option is overriden by the /etc/ftpd/ftpaccess file.&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Sun, 16 May 2004 19:45:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277147#M179737</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2004-05-16T19:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: ftp sessions log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277148#M179738</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In HPUX, using the option -l -a at the ftpd line within the inetd.conf you force ftpd to use the ftpaccess file in /etc/ftpd.&lt;BR /&gt;In this file you can specify what to log with the line: &lt;BR /&gt;log transfers real inboud,outbound&lt;BR /&gt; &lt;BR /&gt;All loggings are placed in /var/adm/syslog/xferlog&lt;BR /&gt;&lt;BR /&gt;The ftpaccess file can also enable access lists for ftpsessions from networks/hosts, block specific files for ftp.&lt;BR /&gt;For more details check the man pages for the correct syntax.&lt;BR /&gt;&lt;BR /&gt;Hopes this helps you on your way.&lt;BR /&gt;&lt;BR /&gt;Edwin</description>
      <pubDate>Mon, 17 May 2004 02:09:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277148#M179738</guid>
      <dc:creator>Edwin Dikhooff</dc:creator>
      <dc:date>2004-05-17T02:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: ftp sessions log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277149#M179739</link>
      <description>Shashang,&lt;BR /&gt;There are various means to accomplish what you are looking for. Perhaphs the 2 discussion threads below give you all the information that you are looking for&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=187078" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=187078&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=96479" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=96479&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Mobeen</description>
      <pubDate>Mon, 17 May 2004 02:13:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277149#M179739</guid>
      <dc:creator>Mobeen_1</dc:creator>
      <dc:date>2004-05-17T02:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: ftp sessions log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277150#M179740</link>
      <description>thanx michael schulte, giving kill -HUP solved my problem. Can u explain what does kill -1 (HUP) does. As only putting the -l flag in the inetd.conf file did not work.</description>
      <pubDate>Mon, 17 May 2004 05:18:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277150#M179740</guid>
      <dc:creator>shashang</dc:creator>
      <dc:date>2004-05-17T05:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: ftp sessions log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277151#M179741</link>
      <description>thanx michael schulte, giving kill -HUP solved my problem. Can u explain what does kill -1 (HUP) does. As only putting the -l flag in the inetd.conf file did not work. Also is there any way in which i can create a seperate file to log these ftp entries.</description>
      <pubDate>Mon, 17 May 2004 05:22:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277151#M179741</guid>
      <dc:creator>shashang</dc:creator>
      <dc:date>2004-05-17T05:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: ftp sessions log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277152#M179742</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;have you try, adding "ftp -oil" to the end of the line for ftpd in the inetd.conf file?&lt;BR /&gt;&lt;BR /&gt;as for what HUP means:&lt;BR /&gt;# kill -HUP &lt;PID of="" inetd=""&gt;&lt;BR /&gt;is equivalent to doing&lt;BR /&gt;# inetd -c&lt;BR /&gt;to restart the process.&lt;BR /&gt;&lt;BR /&gt;regards.&lt;/PID&gt;</description>
      <pubDate>Mon, 17 May 2004 05:27:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277152#M179742</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2004-05-17T05:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: ftp sessions log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277153#M179743</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;editing the inetd.conf doesn't do you any good because the inetd is not aware of any change. kill -HUP forces it to reread the conf file.&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Mon, 17 May 2004 09:21:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277153#M179743</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-05-17T09:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: ftp sessions log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277154#M179744</link>
      <description>Well,&lt;BR /&gt;&lt;BR /&gt;overlooked the question in the second post of you. Could you please explain, what you want exactly?&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Mon, 17 May 2004 09:24:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277154#M179744</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-05-17T09:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: ftp sessions log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277155#M179745</link>
      <description>Michael, the ftp session entries are created in /var/adm/syslog.dated/current/daemon.log file along with other entries. Is there any way in which I can change the path only for the ftp entries i.e logging the ftp entries in a diff. file?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;shashang.</description>
      <pubDate>Tue, 18 May 2004 04:51:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-sessions-log/m-p/3277155#M179745</guid>
      <dc:creator>shashang</dc:creator>
      <dc:date>2004-05-18T04:51:11Z</dc:date>
    </item>
  </channel>
</rss>

