<?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 chroot in FTP in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/chroot-in-ftp/m-p/2648290#M45459</link>
    <description>Hi, If I have a diretory named /A and I want to setup an only-ftp account chrooted to that dir, what is the correct format entry for the user in /etc/passwd? &lt;BR /&gt;&lt;BR /&gt;TIA</description>
    <pubDate>Fri, 18 Jan 2002 13:02:08 GMT</pubDate>
    <dc:creator>Ruben Cardenal</dc:creator>
    <dc:date>2002-01-18T13:02:08Z</dc:date>
    <item>
      <title>chroot in FTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chroot-in-ftp/m-p/2648290#M45459</link>
      <description>Hi, If I have a diretory named /A and I want to setup an only-ftp account chrooted to that dir, what is the correct format entry for the user in /etc/passwd? &lt;BR /&gt;&lt;BR /&gt;TIA</description>
      <pubDate>Fri, 18 Jan 2002 13:02:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chroot-in-ftp/m-p/2648290#M45459</guid>
      <dc:creator>Ruben Cardenal</dc:creator>
      <dc:date>2002-01-18T13:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: chroot in FTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chroot-in-ftp/m-p/2648291#M45460</link>
      <description>See &lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6cc079bffde7d4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6cc079bffde7d4118fef0090279cd0f9,00.html&lt;/A&gt;</description>
      <pubDate>Fri, 18 Jan 2002 13:10:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chroot-in-ftp/m-p/2648291#M45460</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2002-01-18T13:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: chroot in FTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chroot-in-ftp/m-p/2648292#M45461</link>
      <description>Hi Ruben,&lt;BR /&gt;&lt;BR /&gt;The ftp only user id home directory should be /A/./&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jan 2002 13:18:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chroot-in-ftp/m-p/2648292#M45461</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-01-18T13:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: chroot in FTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chroot-in-ftp/m-p/2648293#M45462</link>
      <description>Also take a look at ftpaccess&lt;BR /&gt;&lt;BR /&gt;man 4 ftpaccess&lt;BR /&gt;&lt;BR /&gt;...jcd...</description>
      <pubDate>Fri, 18 Jan 2002 14:28:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chroot-in-ftp/m-p/2648293#M45462</guid>
      <dc:creator>Joseph C. Denman</dc:creator>
      <dc:date>2002-01-18T14:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: chroot in FTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chroot-in-ftp/m-p/2648294#M45463</link>
      <description>I have done the following:&lt;BR /&gt;&lt;BR /&gt;* Created a group for that user:&lt;BR /&gt;&lt;BR /&gt;root@grecopr2:/yo# cat /etc/group | grep agri&lt;BR /&gt;ftpagri::105:agri&lt;BR /&gt;root@grecopr2:/yo# &lt;BR /&gt;&lt;BR /&gt;* Setup the /etc/passwd entry:&lt;BR /&gt;&lt;BR /&gt;root@grecopr2:/yo# cat /etc/passwd | grep agri&lt;BR /&gt;agri:L5oxlGqm84Zj2:350:105:Prueba de Ruben:/yo/./:/usr/bin/false&lt;BR /&gt;root@grecopr2:/yo# &lt;BR /&gt;&lt;BR /&gt;* Setup /etc/ftpd/ftpaccess:&lt;BR /&gt;&lt;BR /&gt;root@grecopr2:/yo# cat /etc/ftpd/ftpaccess | grep guestgroup&lt;BR /&gt;guestgroup ftpagri&lt;BR /&gt;root@grecopr2:/yo# &lt;BR /&gt;&lt;BR /&gt;* Added "-a" option to inetd.conf entry for ftpd:&lt;BR /&gt;&lt;BR /&gt;root@grecopr2:/yo# cat /etc/inetd.conf | grep /ftpd&lt;BR /&gt;ftp          stream tcp nowait root /usr/lbin/ftpd      ftpd -l -a&lt;BR /&gt;root@grecopr2:/yo# &lt;BR /&gt;&lt;BR /&gt;* Restarted inetd.&lt;BR /&gt;&lt;BR /&gt;* Now, I try to use the account:&lt;BR /&gt;&lt;BR /&gt;root@grecopr2:/# ftp localhost&lt;BR /&gt;Connected to localhost.&lt;BR /&gt;220 grecopr2 FTP server (Version 1.1.214.7 Thu Aug 10 09:57:38 GMT 2000) ready.&lt;BR /&gt;Name (localhost:root): agri&lt;BR /&gt;331 Password required for agri.&lt;BR /&gt;Password:&lt;BR /&gt;230 User agri logged in.  Access restrictions apply.&lt;BR /&gt;Remote system type is UNIX.&lt;BR /&gt;Using binary mode to transfer files.&lt;BR /&gt;ftp&amp;gt; pwd&lt;BR /&gt;257 "/" is current directory.&lt;BR /&gt;ftp&amp;gt; dir&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 Opening ASCII mode data connection for /usr/bin/ls.&lt;BR /&gt;226 Transfer complete.&lt;BR /&gt;ftp&amp;gt; quit&lt;BR /&gt;221 Goodbye.&lt;BR /&gt;root@grecopr2:/#&lt;BR /&gt;&lt;BR /&gt;It doesn't list! Says it lists "/usr/bin/ls" :? If I upload something, make dirs, delete, etc, it works fine, but listing doesn't. What am I doing wrong? :(</description>
      <pubDate>Mon, 21 Jan 2002 10:01:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chroot-in-ftp/m-p/2648294#M45463</guid>
      <dc:creator>Ruben Cardenal</dc:creator>
      <dc:date>2002-01-21T10:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: chroot in FTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chroot-in-ftp/m-p/2648295#M45464</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;What are the permissions of your FTPROOT directory? It has to be r-x (readable and executable) by the FTP user in order to allow files to be listed.&lt;BR /&gt;&lt;BR /&gt;To troubleshoot, try setting your FTPROOT to &lt;BR /&gt;&lt;BR /&gt;# chmod ugo+rx YOUR_FTPROOT&lt;BR /&gt;&lt;BR /&gt;After FTP logon, perform a dir, ls and ls -la.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Mon, 21 Jan 2002 10:21:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chroot-in-ftp/m-p/2648295#M45464</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-01-21T10:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: chroot in FTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chroot-in-ftp/m-p/2648296#M45465</link>
      <description>If you can't do a directory list, means that you have no cmd to do such ... So, use 'man ftpd'. Starting from section 'Anonymous connexion' It will explain the way to give access to local cmds and shared libs needed by dir or mkdir or so.&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Jan 2002 10:27:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chroot-in-ftp/m-p/2648296#M45465</guid>
      <dc:creator>Barry_2</dc:creator>
      <dc:date>2002-01-21T10:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: chroot in FTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chroot-in-ftp/m-p/2648297#M45466</link>
      <description>Thanks to all for your interest and help. The 10 goes to Barry due to his precission with listing issue :)</description>
      <pubDate>Mon, 21 Jan 2002 13:38:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chroot-in-ftp/m-p/2648297#M45466</guid>
      <dc:creator>Ruben Cardenal</dc:creator>
      <dc:date>2002-01-21T13:38:52Z</dc:date>
    </item>
  </channel>
</rss>

