<?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: Restrict FTP access to a directory other than the homedir in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-access-to-a-directory-other-than-the-homedir/m-p/3540757#M734384</link>
    <description>hi , i use the ftpaccess to setup restricted ftp access for "ftp only", its work, but i can't see the files in the directory only from command line i can see the files.</description>
    <pubDate>Wed, 08 Oct 2008 22:49:10 GMT</pubDate>
    <dc:creator>jaru_1</dc:creator>
    <dc:date>2008-10-08T22:49:10Z</dc:date>
    <item>
      <title>Restrict FTP access to a directory other than the homedir</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-access-to-a-directory-other-than-the-homedir/m-p/3540753#M734380</link>
      <description>We use the ftpaccess to setup restricted ftp access for "ftp only" accounts. Using /bin/false, and the "guest group", these accounts can only be used to ftp to a specific directory. My new requirement is to restrict the ftp access for regular user accounts to a specific directory, other than their home directory, and restrict it such that they can "cd" out of that ftp directory.&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 09 May 2005 14:53:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-access-to-a-directory-other-than-the-homedir/m-p/3540753#M734380</guid>
      <dc:creator>Luis Toro</dc:creator>
      <dc:date>2005-05-09T14:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict FTP access to a directory other than the homedir</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-access-to-a-directory-other-than-the-homedir/m-p/3540754#M734381</link>
      <description>You might want to consider chroot for sftp. I've attached the ssh release notes for your reference.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Isralyn</description>
      <pubDate>Mon, 09 May 2005 21:52:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-access-to-a-directory-other-than-the-homedir/m-p/3540754#M734381</guid>
      <dc:creator>Isralyn Manalac_1</dc:creator>
      <dc:date>2005-05-09T21:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict FTP access to a directory other than the homedir</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-access-to-a-directory-other-than-the-homedir/m-p/3540755#M734382</link>
      <description>Thanks for the reply, but I don't think ssh is an option since these are endusers that have a predefined [ftp] process. What I'm trying to do is make sure they are restricted when doing an FTP to a directory other than their homedir. The easy option is to create "ftp only" accounts for each user and use the ftpaccess file to configure them as "guest" accounts.</description>
      <pubDate>Tue, 10 May 2005 08:07:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-access-to-a-directory-other-than-the-homedir/m-p/3540755#M734382</guid>
      <dc:creator>Luis Toro</dc:creator>
      <dc:date>2005-05-10T08:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict FTP access to a directory other than the homedir</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-access-to-a-directory-other-than-the-homedir/m-p/3540756#M734383</link>
      <description>Look in the ftpaccess file (man ftpaccess). You can configure this to allow 'guest' users. (Note: guest users are *not* anonymous)&lt;BR /&gt;&lt;BR /&gt;All guest users are locked into a chroot gaol which is defined in /etc/passwd.&lt;BR /&gt;&lt;BR /&gt;In essence:&lt;BR /&gt;1. Create an ftp group&lt;BR /&gt;2. Edit /etc/inetd.conf to add '-a' to the ftpd flags, then reload inetd's conf file (inetd -c)&lt;BR /&gt;3. Create a simple /etc/ftpd/ftpaccess file, with something like:&lt;BR /&gt;# Defines a class of users - this is required&lt;BR /&gt;class users real,guest *&lt;BR /&gt;# Any members of the ftp group will be chroot'd&lt;BR /&gt;guestgroup ftp&lt;BR /&gt;# Don't print the FTP/OS version on login&lt;BR /&gt;suppressversion yes&lt;BR /&gt;# Logging - for debugging purposes&lt;BR /&gt;log commands real,guest,anonymous&lt;BR /&gt;log transfers real,guest,anonymous * IN,OUT&lt;BR /&gt;&lt;BR /&gt;4. Create your user, put it in the 'ftp' group and assign a shell of /usr/bin/false (to stop shell logins). The home directory for the user should be &lt;CHROOT loc=""&gt;/./&lt;START dir=""&gt;; for example:&lt;BR /&gt;useradd -g ftp -s /usr/bin/false -c "Chroot FTP user,,," -d /var/opt/staging/./foo foo&lt;BR /&gt;5. Create the home directory (in the above example: /var/opt/staging/foo)&lt;BR /&gt;&lt;BR /&gt;One point about this; by default they won't be able to do an 'ls' command from within FTP - but they can still use 'nlist'&lt;/START&gt;&lt;/CHROOT&gt;</description>
      <pubDate>Fri, 17 Jun 2005 05:35:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-access-to-a-directory-other-than-the-homedir/m-p/3540756#M734383</guid>
      <dc:creator>David Lodge</dc:creator>
      <dc:date>2005-06-17T05:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict FTP access to a directory other than the homedir</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-access-to-a-directory-other-than-the-homedir/m-p/3540757#M734384</link>
      <description>hi , i use the ftpaccess to setup restricted ftp access for "ftp only", its work, but i can't see the files in the directory only from command line i can see the files.</description>
      <pubDate>Wed, 08 Oct 2008 22:49:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-access-to-a-directory-other-than-the-homedir/m-p/3540757#M734384</guid>
      <dc:creator>jaru_1</dc:creator>
      <dc:date>2008-10-08T22:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict FTP access to a directory other than the homedir</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-access-to-a-directory-other-than-the-homedir/m-p/3540758#M734385</link>
      <description>&amp;gt;  hi , [...]&lt;BR /&gt;&lt;BR /&gt;It would be better to start a new thread with&lt;BR /&gt;your new question, rather than waking up this&lt;BR /&gt;very old and mostly unrelated thread.&lt;BR /&gt;&lt;BR /&gt;When you do that, show an "ls -lR" listing&lt;BR /&gt;for a user's home directory.&lt;BR /&gt;&lt;BR /&gt;Or, do a Forum search, and look for your&lt;BR /&gt;problem, which has almost certainly been&lt;BR /&gt;covered before.</description>
      <pubDate>Thu, 09 Oct 2008 02:28:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-access-to-a-directory-other-than-the-homedir/m-p/3540758#M734385</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-10-09T02:28:13Z</dc:date>
    </item>
  </channel>
</rss>

