<?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 enhanced ftp setup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/enhanced-ftp-setup/m-p/3302498#M715871</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am using hp-ux 11.0&lt;BR /&gt;We have few restricted ftp users in one of our server. &lt;BR /&gt;We want the enhanced ftp log for those users. How to configure it? &lt;BR /&gt;I have done but it's not logging for those users. In xferlog we can only see &lt;BR /&gt;the log for real user(not for restricted ftp user). We want the detailed log&lt;BR /&gt;(every details like login, remote ip, timestamp. how many bytes transfered, store, get , put...)&lt;BR /&gt;for restricted ftpuser in xferlog. &lt;BR /&gt;Pl.help.&lt;BR /&gt;&lt;BR /&gt;Though i think if i put guest &lt;BR /&gt;log transfers anonymous,real,guest&lt;BR /&gt; inbound,outbound&lt;BR /&gt;in /etc/ftpd/ftpaccess file then restricted users entry will come. But i need details entry.&lt;BR /&gt;&lt;BR /&gt;Below are my settings in Server. &lt;BR /&gt;Rgds&lt;BR /&gt;Tapas&lt;BR /&gt;&lt;BR /&gt;/etc/passwd file entry:&lt;BR /&gt;resftp1:*:133:150:RESFTPUSR1 :/res1/./ftpdir:/usr/bin/ftpshell&lt;BR /&gt;resftp2:*:133:150:Restrcicted FTPUSR1:/res2/./ftpdir:/usr/bin/ftpshell&lt;BR /&gt;&lt;BR /&gt;/etc/inetd.conf file entry:&lt;BR /&gt;ftp          stream tcp nowait root /usr/lbin/ftpd      ftpd  -l -a -u 000 -i -o&lt;BR /&gt;&lt;BR /&gt;/etc/group file entry:&lt;BR /&gt;ftpusr::150:resftp1,resftp2,resftp3&lt;BR /&gt;&lt;BR /&gt;Contents /etc/ftpd/ftpaccess is like below:&lt;BR /&gt;class   all   real,guest,anonymous  *                  &lt;BR /&gt;guestgroup    ftpusr                    &lt;BR /&gt;limit   all   20   Any              /etc/msgs/msg.dead &lt;BR /&gt;readme  README*    login                               &lt;BR /&gt;#readme  README*    cwd=/home/ftpusr                   &lt;BR /&gt;message /welcome.msg            login                  &lt;BR /&gt;#message .message                cwd=*                 &lt;BR /&gt;compress    yes        all                    &lt;BR /&gt;tar        yes         all                    &lt;BR /&gt;log commands real&lt;BR /&gt;log transfers anonymous,real inbound,outbound&lt;BR /&gt;shutdown /etc/shutmsg                                  &lt;BR /&gt;# directory aliases...  [note, the ":" is not required]&lt;BR /&gt;alias   imp:    /import                                &lt;BR /&gt;alias   exp:    /export                                     &lt;BR /&gt;# cdpath                                                    &lt;BR /&gt;cdpath  /export cdpath /import cdpath /master  cdpatch /temp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In /var/adm/syslog/xferlog we can see for only real login like tapas&lt;BR /&gt;Fri Jun 11 11:42:12 2004 -1 X -1 X X X X X X ftp -1 X 1086934332 1.427734       &lt;BR /&gt;Fri Jun 11 14:16:55 2004 -1 X -1 X X X X X X ftp -1 X 1086943615 0.048828       &lt;BR /&gt;Fri Jun 11 14:17:17 2004 0.040183 199.40.47.205 110089 /home/tapas/test.txt a _ &lt;BR /&gt;o r tapas ftp 0 * 1086943637 23338270216568818000000000000000.000000            &lt;BR /&gt;Fri Jun 11 14:17:20 2004 0.053203 199.40.47.205 107532 /home/tapas/test1.txt1 a _&lt;BR /&gt; o r tapas ftp 0 * 1086943640 23338270216568818000000000000000.000000           &lt;BR /&gt;Fri Jun 11 14:17:23 2004 -1 X -1 X X X X X X ftp -1 X 1086943643 0.171875       &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 11 Jun 2004 04:08:03 GMT</pubDate>
    <dc:creator>Tapas Jha</dc:creator>
    <dc:date>2004-06-11T04:08:03Z</dc:date>
    <item>
      <title>enhanced ftp setup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enhanced-ftp-setup/m-p/3302498#M715871</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am using hp-ux 11.0&lt;BR /&gt;We have few restricted ftp users in one of our server. &lt;BR /&gt;We want the enhanced ftp log for those users. How to configure it? &lt;BR /&gt;I have done but it's not logging for those users. In xferlog we can only see &lt;BR /&gt;the log for real user(not for restricted ftp user). We want the detailed log&lt;BR /&gt;(every details like login, remote ip, timestamp. how many bytes transfered, store, get , put...)&lt;BR /&gt;for restricted ftpuser in xferlog. &lt;BR /&gt;Pl.help.&lt;BR /&gt;&lt;BR /&gt;Though i think if i put guest &lt;BR /&gt;log transfers anonymous,real,guest&lt;BR /&gt; inbound,outbound&lt;BR /&gt;in /etc/ftpd/ftpaccess file then restricted users entry will come. But i need details entry.&lt;BR /&gt;&lt;BR /&gt;Below are my settings in Server. &lt;BR /&gt;Rgds&lt;BR /&gt;Tapas&lt;BR /&gt;&lt;BR /&gt;/etc/passwd file entry:&lt;BR /&gt;resftp1:*:133:150:RESFTPUSR1 :/res1/./ftpdir:/usr/bin/ftpshell&lt;BR /&gt;resftp2:*:133:150:Restrcicted FTPUSR1:/res2/./ftpdir:/usr/bin/ftpshell&lt;BR /&gt;&lt;BR /&gt;/etc/inetd.conf file entry:&lt;BR /&gt;ftp          stream tcp nowait root /usr/lbin/ftpd      ftpd  -l -a -u 000 -i -o&lt;BR /&gt;&lt;BR /&gt;/etc/group file entry:&lt;BR /&gt;ftpusr::150:resftp1,resftp2,resftp3&lt;BR /&gt;&lt;BR /&gt;Contents /etc/ftpd/ftpaccess is like below:&lt;BR /&gt;class   all   real,guest,anonymous  *                  &lt;BR /&gt;guestgroup    ftpusr                    &lt;BR /&gt;limit   all   20   Any              /etc/msgs/msg.dead &lt;BR /&gt;readme  README*    login                               &lt;BR /&gt;#readme  README*    cwd=/home/ftpusr                   &lt;BR /&gt;message /welcome.msg            login                  &lt;BR /&gt;#message .message                cwd=*                 &lt;BR /&gt;compress    yes        all                    &lt;BR /&gt;tar        yes         all                    &lt;BR /&gt;log commands real&lt;BR /&gt;log transfers anonymous,real inbound,outbound&lt;BR /&gt;shutdown /etc/shutmsg                                  &lt;BR /&gt;# directory aliases...  [note, the ":" is not required]&lt;BR /&gt;alias   imp:    /import                                &lt;BR /&gt;alias   exp:    /export                                     &lt;BR /&gt;# cdpath                                                    &lt;BR /&gt;cdpath  /export cdpath /import cdpath /master  cdpatch /temp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In /var/adm/syslog/xferlog we can see for only real login like tapas&lt;BR /&gt;Fri Jun 11 11:42:12 2004 -1 X -1 X X X X X X ftp -1 X 1086934332 1.427734       &lt;BR /&gt;Fri Jun 11 14:16:55 2004 -1 X -1 X X X X X X ftp -1 X 1086943615 0.048828       &lt;BR /&gt;Fri Jun 11 14:17:17 2004 0.040183 199.40.47.205 110089 /home/tapas/test.txt a _ &lt;BR /&gt;o r tapas ftp 0 * 1086943637 23338270216568818000000000000000.000000            &lt;BR /&gt;Fri Jun 11 14:17:20 2004 0.053203 199.40.47.205 107532 /home/tapas/test1.txt1 a _&lt;BR /&gt; o r tapas ftp 0 * 1086943640 23338270216568818000000000000000.000000           &lt;BR /&gt;Fri Jun 11 14:17:23 2004 -1 X -1 X X X X X X ftp -1 X 1086943643 0.171875       &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jun 2004 04:08:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enhanced-ftp-setup/m-p/3302498#M715871</guid>
      <dc:creator>Tapas Jha</dc:creator>
      <dc:date>2004-06-11T04:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: enhanced ftp setup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enhanced-ftp-setup/m-p/3302499#M715872</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You could add the -v -L options to the ftpd in the /etc/inetd.conf. Check the ftpd man page for the descibtions.&lt;BR /&gt;&lt;BR /&gt;In addition I would setup a seperate ftplog file instead of logging it all the syslog.&lt;BR /&gt;&lt;BR /&gt;change the next line in the /etc/syslog.conf file.&lt;BR /&gt;&lt;BR /&gt;*.info;mail.none;local5.none    /var/adm/syslog/syslog.log&lt;BR /&gt;    local5.info             /var/adm/syslog/ftpd.log&lt;BR /&gt;&lt;BR /&gt;local5 is used by ftpd.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Fri, 11 Jun 2004 04:52:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enhanced-ftp-setup/m-p/3302499#M715872</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-06-11T04:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: enhanced ftp setup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enhanced-ftp-setup/m-p/3302500#M715873</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Set up the following section into your /etc/ftpd/ftpaccess file:&lt;BR /&gt;# specify which group of users will be treated as "guests".&lt;BR /&gt;guestgroup &lt;YOUR_FTP_GUEST_GROUP&gt;&lt;BR /&gt;&lt;BR /&gt;Also, in this file, verify the guest loggin setup:&lt;BR /&gt;log transfers anonymous,real,guest inbound,outbound&lt;BR /&gt;&lt;BR /&gt;Then into your /etc/group file:&lt;BR /&gt;&lt;YOUR_FTP_GUEST_GROUP&gt;::999:resftp1,resftp2&lt;BR /&gt;&lt;BR /&gt;And ensure that, at least, your ftp service definiton into /etc/inetd.sec have this options:&lt;BR /&gt;ftp          stream tcp nowait root /usr/lbin/ftpd      ftpd -l -a&lt;BR /&gt;&lt;BR /&gt;To check any others options about ftpd loggin pls refer to "man ftpd"&lt;BR /&gt;&lt;BR /&gt;Rgds.&lt;/YOUR_FTP_GUEST_GROUP&gt;&lt;/YOUR_FTP_GUEST_GROUP&gt;</description>
      <pubDate>Fri, 11 Jun 2004 07:11:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enhanced-ftp-setup/m-p/3302500#M715873</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2004-06-11T07:11:30Z</dc:date>
    </item>
  </channel>
</rss>

