<?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: Restricted Ftp in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp/m-p/3351759#M192586</link>
    <description>Hi RB,&lt;BR /&gt;&lt;BR /&gt;  Yes I do beleive you need to create ftpaccess file to chroot a ftp user.&lt;BR /&gt;&lt;BR /&gt;# cp /usr/newconfig/etc/ftpd/ftpaccess /etc/ftpd/&lt;BR /&gt;&lt;BR /&gt;# vi /etc/inetd.conf&lt;BR /&gt;add -a and -l option to ftpd&lt;BR /&gt;&lt;BR /&gt;# inetd -c&lt;BR /&gt;&lt;BR /&gt;Create the user&lt;BR /&gt;&lt;BR /&gt;# vi /etc/ftpd/ftpaccess&lt;BR /&gt;guestgroup &lt;GROUP-NAME-OF-THE-USER&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/GROUP-NAME-OF-THE-USER&gt;</description>
    <pubDate>Fri, 06 Aug 2004 18:12:43 GMT</pubDate>
    <dc:creator>Sundar_7</dc:creator>
    <dc:date>2004-08-06T18:12:43Z</dc:date>
    <item>
      <title>Restricted Ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp/m-p/3351757#M192584</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;  On a Hpux 11.00 server, i need to setup a restricted ftp user account i.e a ftp account which cannot traverse above it's home directory (similar to anonymous ftp account).&lt;BR /&gt;&lt;BR /&gt;Do i need to enable ftpaccess for this purpose? the server is currently running ftpd without -a option in the inetd.conf file and there is no /etc/ftpd/ftpaccess file.  &lt;BR /&gt;&lt;BR /&gt; I tried setting up the restricted ftp account through the normal procedure used in 10.20. (i.e create ftp id, change the home directory  in this format /home/xx/./ ;  create etc, usr/bin structure in the homedir and copy ls , passwd ,group files ). But, whenever i ftp with the login , it allows me to navigate above the home directory.&lt;BR /&gt;&lt;BR /&gt;Is enabling ftpaccess compulsory for using restricted ftp account?  Anonymous ftp is working fine without ftpaccess.&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;RB</description>
      <pubDate>Fri, 06 Aug 2004 17:02:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp/m-p/3351757#M192584</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2004-08-06T17:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted Ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp/m-p/3351758#M192585</link>
      <description>Hi Roger,&lt;BR /&gt;&lt;BR /&gt;One way you can do this, and much more, is by downloading the WU-FTPD product from HP Software Depot:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=WUFTPD26" target="_blank"&gt;http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=WUFTPD26&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This version runs on both 11.0 and 11i and it allows you to configure ftp access with much more control and granularity than the regular ftp version that ships with HP-UX 11.0.&lt;BR /&gt;&lt;BR /&gt;The release notes for this version come with the product, but are also available on &lt;A href="http://docs.hp.com:" target="_blank"&gt;http://docs.hp.com:&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/hpux/onlinedocs/5990-8588/5990-8588.html" target="_blank"&gt;http://www.docs.hp.com/hpux/onlinedocs/5990-8588/5990-8588.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The document covers the feature you're looking for - restricting users to specific directories.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Fri, 06 Aug 2004 17:25:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp/m-p/3351758#M192585</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2004-08-06T17:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted Ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp/m-p/3351759#M192586</link>
      <description>Hi RB,&lt;BR /&gt;&lt;BR /&gt;  Yes I do beleive you need to create ftpaccess file to chroot a ftp user.&lt;BR /&gt;&lt;BR /&gt;# cp /usr/newconfig/etc/ftpd/ftpaccess /etc/ftpd/&lt;BR /&gt;&lt;BR /&gt;# vi /etc/inetd.conf&lt;BR /&gt;add -a and -l option to ftpd&lt;BR /&gt;&lt;BR /&gt;# inetd -c&lt;BR /&gt;&lt;BR /&gt;Create the user&lt;BR /&gt;&lt;BR /&gt;# vi /etc/ftpd/ftpaccess&lt;BR /&gt;guestgroup &lt;GROUP-NAME-OF-THE-USER&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/GROUP-NAME-OF-THE-USER&gt;</description>
      <pubDate>Fri, 06 Aug 2004 18:12:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp/m-p/3351759#M192586</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-08-06T18:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted Ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp/m-p/3351760#M192587</link>
      <description>To make your anonymouse ftp as a restricted one in directory and usage then change configuration of ftpd on inetd first as,&lt;BR /&gt;&lt;BR /&gt; --- /etc/inetd.conf --&lt;BR /&gt;&lt;BR /&gt; ftpd -a -l -r &lt;CHANGEROOTDIRECTORY&gt;&lt;BR /&gt;&lt;BR /&gt; -a will read informations from /etc/ftpd/ftpaccess file. You can get it over /usr/newconfig/etc/ftpd/examples/ftpaccess file&lt;BR /&gt;&lt;BR /&gt; -l logging into syslog&lt;BR /&gt; &lt;BR /&gt; -r it will make changing root directory to the specified one after login into ftp&lt;BR /&gt;&lt;BR /&gt; If you don't want to configure ftpaccess file you can control it using -r option of ftpd as,&lt;BR /&gt;&lt;BR /&gt; -r rootdir     Instructs the daemon to chroot (see chroot(2)) to&lt;BR /&gt;                          the specified rootdir immediately upon loading.&lt;BR /&gt;                          This can improve system security by limiting the&lt;BR /&gt;                          files which may be damaged should a break-in occur&lt;BR /&gt;                          through the daemon. This option is like anonymous&lt;BR /&gt;                          FTP. For this option to work properly additional&lt;BR /&gt;                          files may be needed under the specified rootdir,&lt;BR /&gt;                          which can vary from system to system.&lt;BR /&gt;&lt;BR /&gt;-muthu.&lt;/CHANGEROOTDIRECTORY&gt;</description>
      <pubDate>Sat, 07 Aug 2004 00:58:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp/m-p/3351760#M192587</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-08-07T00:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted Ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp/m-p/3351761#M192588</link>
      <description>&lt;BR /&gt;Thanks for the responders.  So, can i conclude from the responses that, for using restricted ftp account(with chroot), "ftpaccess" is indeed required to be configured and enabled(thru inetd.conf -a option).  This is on a 11.00 server which is currently running as ftpd -l (not enabled ftpaccess).   &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Aug 2004 09:29:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp/m-p/3351761#M192588</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2004-08-09T09:29:22Z</dc:date>
    </item>
  </channel>
</rss>

