<?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: ftpaccess file and upload in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556719#M225858</link>
    <description>Shell issue?&lt;BR /&gt;&lt;BR /&gt;usr/bin/false&lt;BR /&gt;&lt;BR /&gt;should be&lt;BR /&gt;&lt;BR /&gt;/usr/bin/false&lt;BR /&gt;&lt;BR /&gt;Add the second user to the ftponly group.&lt;BR /&gt;&lt;BR /&gt;Make sure the permissions on the directory are &lt;BR /&gt;&lt;BR /&gt;chmod g+r&lt;BR /&gt;&lt;BR /&gt;so that other groups can access the directory.&lt;BR /&gt;&lt;BR /&gt;I think this may work better than the ftpaccess solution.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Thu, 02 Jun 2005 10:38:20 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2005-06-02T10:38:20Z</dc:date>
    <item>
      <title>ftpaccess file and upload</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556718#M225857</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;I have gone through all the posts regarding this subject, but still cannot get ftpaccess to work as I would like it to.&lt;BR /&gt;&lt;BR /&gt;I have an ftp user (SGMftp) who's primary group is the ftponly group. The home directory is /tmp_mnt/reports/fats and the shell is usr/bin/false.&lt;BR /&gt;&lt;BR /&gt;FTP works OK, and :&lt;BR /&gt; the files are created with the rw-r----- permission. &lt;BR /&gt;&lt;BR /&gt;I would like this account to ftp the files, but another user to have access to the files, so I created the following line in ftpaccess&lt;BR /&gt;upload  /tmp_mnt/reports/fats  / fmdprod sgmfmd yes 0660&lt;BR /&gt;&lt;BR /&gt;However, the files are still being created as :&lt;BR /&gt;-rw-r-----   1 SGMftp     ftponly    &lt;BR /&gt;-rw-r-----   1 SGMftp     ftponly    &lt;BR /&gt;&lt;BR /&gt;Any help is much appreciated&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 02 Jun 2005 10:17:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556718#M225857</guid>
      <dc:creator>TMcB</dc:creator>
      <dc:date>2005-06-02T10:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: ftpaccess file and upload</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556719#M225858</link>
      <description>Shell issue?&lt;BR /&gt;&lt;BR /&gt;usr/bin/false&lt;BR /&gt;&lt;BR /&gt;should be&lt;BR /&gt;&lt;BR /&gt;/usr/bin/false&lt;BR /&gt;&lt;BR /&gt;Add the second user to the ftponly group.&lt;BR /&gt;&lt;BR /&gt;Make sure the permissions on the directory are &lt;BR /&gt;&lt;BR /&gt;chmod g+r&lt;BR /&gt;&lt;BR /&gt;so that other groups can access the directory.&lt;BR /&gt;&lt;BR /&gt;I think this may work better than the ftpaccess solution.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 02 Jun 2005 10:38:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556719#M225858</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-06-02T10:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: ftpaccess file and upload</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556720#M225859</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;sorry, typing mistake in 1st post - the shell is /usr/bin/false.&lt;BR /&gt;&lt;BR /&gt;The permissions for the directory are already :&lt;BR /&gt;drwxrwxrwx   3 SGMftp     ftponly       1024 Jun  2 16:15 fats&lt;BR /&gt;&lt;BR /&gt;But when the files are ftp'd, no one else can access them (apart from root) as the permission is rw-r-----.&lt;BR /&gt;&lt;BR /&gt;Because the SGMftp account is ftp only, they cannot use this to telnet on and change the permissions.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 02 Jun 2005 10:45:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556720#M225859</guid>
      <dc:creator>TMcB</dc:creator>
      <dc:date>2005-06-02T10:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: ftpaccess file and upload</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556721#M225860</link>
      <description>Hi,&lt;BR /&gt;your ftpacces config. line looks a little suspicious, especially the space between "/" and fmdprod". &lt;BR /&gt;If "fmdprod" is a dir under "/tmp_mnt/reports/fats", then remove the space. &lt;BR /&gt;The whole line should look somewhat like this:&lt;BR /&gt;upload /tmp_mnt/reports/fats /fmdprod yes &lt;USER&gt; &lt;GROUP&gt; 0660 dirs&lt;BR /&gt;where &lt;USER&gt; is the owner of the file and &lt;GROUP&gt; the group to which the file belongs.&lt;BR /&gt;It is my experience that every change in ftpaccess requires that restart of the inetd daemon.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;John K.&lt;/GROUP&gt;&lt;/USER&gt;&lt;/GROUP&gt;&lt;/USER&gt;</description>
      <pubDate>Thu, 02 Jun 2005 10:50:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556721#M225860</guid>
      <dc:creator>john korterman</dc:creator>
      <dc:date>2005-06-02T10:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: ftpaccess file and upload</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556722#M225861</link>
      <description>fmd_prod is the user I would like to own the files afer they have been ftp'd into the directory.&lt;BR /&gt;&lt;BR /&gt;I have changed the ftpaccess line to :&lt;BR /&gt;upload  /tmp_mnt/reports/fats / yes fmd_prod sgmfmd 0660&lt;BR /&gt;&lt;BR /&gt;and restarted inetdbut the files still have the permissions :&lt;BR /&gt;-rw-r-----   1 SGMftp     ftponly       1068 Jun  3 09:13 aicense.txt&lt;BR /&gt;-rw-r-----   1 SGMftp     ftponly      80541 Jun  3 09:13 check.txt</description>
      <pubDate>Fri, 03 Jun 2005 03:16:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556722#M225861</guid>
      <dc:creator>TMcB</dc:creator>
      <dc:date>2005-06-03T03:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: ftpaccess file and upload</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556723#M225862</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have similar problem.&lt;BR /&gt;I think that you should change group owner on the directory /tmp_mnt/reports/fats from ftponly to sgmfmd and it will solve the problem.&lt;BR /&gt;Please send the ftpaccess file and the line for SGMftp in passwd file if you still have any problems. Also which is the version of FTP Server?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Borislav&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Jun 2005 04:11:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556723#M225862</guid>
      <dc:creator>Borislav Perkov</dc:creator>
      <dc:date>2005-06-03T04:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: ftpaccess file and upload</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556724#M225863</link>
      <description>Hi again,&lt;BR /&gt;when you establish the ftp session, do you then see the message: "User xxxx logged in. Access restrictions apply"?&lt;BR /&gt;If not, I think the definitions in ftpaccess are ignored.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;regards,&lt;BR /&gt;John K.</description>
      <pubDate>Fri, 03 Jun 2005 04:24:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556724#M225863</guid>
      <dc:creator>john korterman</dc:creator>
      <dc:date>2005-06-03T04:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: ftpaccess file and upload</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556725#M225864</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I do get the "access restrictions apply" message", so I'm happy that ftpaccess is being used.&lt;BR /&gt;The user SGMftp can only ftp to the /tmp_mnt/reports/fats directory and cannot telnet onto the machine.&lt;BR /&gt;&lt;BR /&gt;I changed the owner and group  of the folder but it hasn't made any difference.&lt;BR /&gt;&lt;BR /&gt;I have attached the ftpaccess file.</description>
      <pubDate>Fri, 03 Jun 2005 04:29:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556725#M225864</guid>
      <dc:creator>TMcB</dc:creator>
      <dc:date>2005-06-03T04:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: ftpaccess file and upload</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556726#M225865</link>
      <description>Try to change:&lt;BR /&gt;upload  /tmp_mnt/reports/fats / yes fmd_prod sgmfmd 0660&lt;BR /&gt;to&lt;BR /&gt;upload  /tmp_mnt/reports * no&lt;BR /&gt;upload  /tmp_mnt/reports /fats yes fmd_prod sgmfmd 0660&lt;BR /&gt;regards.</description>
      <pubDate>Fri, 03 Jun 2005 04:38:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556726#M225865</guid>
      <dc:creator>Borislav Perkov</dc:creator>
      <dc:date>2005-06-03T04:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: ftpaccess file and upload</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556727#M225866</link>
      <description>Opps,&lt;BR /&gt;Try this entry in passwd&lt;BR /&gt;SGMftp:nnnnnnnnnnn:148:101:FTP user,,,:/tmp_mnt/reports/./fats:/usr/bin/false&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Jun 2005 04:41:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556727#M225866</guid>
      <dc:creator>Borislav Perkov</dc:creator>
      <dc:date>2005-06-03T04:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: ftpaccess file and upload</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556728#M225867</link>
      <description>Sorry.&lt;BR /&gt;I've meaned try to change home directory entry in passwd file to :&lt;BR /&gt;/tmp_mnt/reports/./fats</description>
      <pubDate>Fri, 03 Jun 2005 04:43:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556728#M225867</guid>
      <dc:creator>Borislav Perkov</dc:creator>
      <dc:date>2005-06-03T04:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: ftpaccess file and upload</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556729#M225868</link>
      <description>Hi Borislav&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks you very much for your help.&lt;BR /&gt;&lt;BR /&gt;It is now working OK.&lt;BR /&gt;I changed the entry in ftpaccess and the passwd file, and the permissions are now :&lt;BR /&gt;-rw-rw----   1 fmd_prod   sgmfmd        1068 Jun  3 10:43 aicense.txt&lt;BR /&gt;-rw-rw----   1 fmd_prod   sgmfmd       80541 Jun  3 10:43 check.txt&lt;BR /&gt;&lt;BR /&gt;Thanks again.</description>
      <pubDate>Fri, 03 Jun 2005 04:46:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpaccess-file-and-upload/m-p/3556729#M225868</guid>
      <dc:creator>TMcB</dc:creator>
      <dc:date>2005-06-03T04:46:01Z</dc:date>
    </item>
  </channel>
</rss>

