<?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: ftp acccess for users in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-acccess-for-users/m-p/5202408#M463696</link>
    <description>I will check previous posts -Thanks</description>
    <pubDate>Tue, 06 Oct 2009 14:44:46 GMT</pubDate>
    <dc:creator>Lawrence Kaufman</dc:creator>
    <dc:date>2009-10-06T14:44:46Z</dc:date>
    <item>
      <title>ftp acccess for users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-acccess-for-users/m-p/5202402#M463690</link>
      <description>I need to limit ftp access. I am assuming that I need to implement the ftpaccess file. My goal is to limit ALL users (except root) to just one directory. The users should only be able to access /ftpfiles. Does anyone have an example of how to define this?  THX!</description>
      <pubDate>Tue, 06 Oct 2009 13:15:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-acccess-for-users/m-p/5202402#M463690</guid>
      <dc:creator>Lawrence Kaufman</dc:creator>
      <dc:date>2009-10-06T13:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: ftp acccess for users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-acccess-for-users/m-p/5202403#M463691</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;then you can use /etc/ftpuser. The ftpd daemon rejects remote logins to local user accounts that are named in /etc/ftpusers. &lt;BR /&gt;Just pick up and put users in this file.</description>
      <pubDate>Tue, 06 Oct 2009 13:22:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-acccess-for-users/m-p/5202403#M463691</guid>
      <dc:creator>Hakki Aydin Ucar</dc:creator>
      <dc:date>2009-10-06T13:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: ftp acccess for users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-acccess-for-users/m-p/5202404#M463692</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;The FTP configuration file is the ftpaccess file. It resides in the /etc/ftpd directory. If you do not currently have one, make a copy from the one located in the newconfig directory:&lt;BR /&gt;&lt;BR /&gt;On HP-UX 11:&lt;BR /&gt;&lt;BR /&gt;#cp /usr/newconfig/etc/ftpd/ftpaccess /etc/ftpd/ftpaccess&lt;BR /&gt;&lt;BR /&gt;On HP-UX 11i:&lt;BR /&gt;&lt;BR /&gt;#cp /usr/newconfig/etc/ftpd/examples/ftpaccess /etc/ftpd/ftpaccess&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;The FTP daemon will not use the configuration file until the /etc/inetd.conf file is edited to include the following:&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;ftp  stream tcp nowait root /usr/lbin/ftpd ftpd    -a /etc/ftpd/ftpaccess&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Replacing the lowercase â  aâ   with the uppercase â  Aâ   will disable the use of the FTP configuration file.  For the Internet Daemon to read this new configuration setting, you must run inetd with the â  -câ   option. (inetd â  c). The following are examples of a few of the options available in the configuration file:&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;noretrieve:&lt;BR /&gt;&lt;BR /&gt;Example: &lt;BR /&gt;noretrieve /etc/passwd /etc/group core .netrc .rhosts&lt;BR /&gt;&lt;BR /&gt;Description:&lt;BR /&gt;&lt;BR /&gt;Files listed after the noretrieve option are files that cannot be retrieved with FTP.  When only the file name is specified (as with core, .netrc, and .rhosts), then no files on the system with that name can be retrieved. When the full pathname is used (as in /etc/passwd and /etc/group), that specific file cannot be retrieved. In this example, /etc/passwd could not be retrieved but a file named /tmp/passwd or /etc/passwd.old could be retrieved.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;deny:&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;deny ctg500g /etc/ftpd/ctg500g_denymsg&lt;BR /&gt;&lt;BR /&gt;Description:&lt;BR /&gt;&lt;BR /&gt;The deny option is used to deny access to a particular host or a group of hosts. In addition, a message can be displayed to the client attempting FTP access. The â  !nameservedâ   parameter can also be used as the hostname to prohibit access to sites who do not have a working nameserver.  Note that the parameter ends in â  dâ  , not â  râ  .&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;loginfails:&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;loginfails 2&lt;BR /&gt;&lt;BR /&gt;Description:&lt;BR /&gt;&lt;BR /&gt;The loginfails option is used to limit the number of FTP login attempts before the connection is terminated. The default value is 5&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sunny</description>
      <pubDate>Tue, 06 Oct 2009 13:25:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-acccess-for-users/m-p/5202404#M463692</guid>
      <dc:creator>Sunny123_1</dc:creator>
      <dc:date>2009-10-06T13:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: ftp acccess for users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-acccess-for-users/m-p/5202405#M463693</link>
      <description>I'm lost. I have the /etc/ftpd/ftpaccess file in place. I don't want to deny any users access. I just want to restrict users to one directory on the system. Do I use the noretrieve option? Thanks for the quick responses!</description>
      <pubDate>Tue, 06 Oct 2009 13:49:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-acccess-for-users/m-p/5202405#M463693</guid>
      <dc:creator>Lawrence Kaufman</dc:creator>
      <dc:date>2009-10-06T13:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: ftp acccess for users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-acccess-for-users/m-p/5202406#M463694</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;For that you can use &lt;BR /&gt;&lt;BR /&gt;noretrieve:&lt;BR /&gt;&lt;BR /&gt;Example: &lt;BR /&gt;noretrieve /etc/passwd /etc/group core .netrc .rhosts&lt;BR /&gt;&lt;BR /&gt;Description:&lt;BR /&gt;&lt;BR /&gt;Files listed after the noretrieve option are files that cannot be retrieved with FTP. When only the file name is specified (as with core, .netrc, and .rhosts), then no files on the system with that name can be retrieved. When the full pathname is used (as in /etc/passwd and /etc/group), that specific file cannot be retrieved. In this example, /etc/passwd could not be retrieved but a file named /tmp/passwd or /etc/passwd.old could be retrieved&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sunny</description>
      <pubDate>Tue, 06 Oct 2009 14:07:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-acccess-for-users/m-p/5202406#M463694</guid>
      <dc:creator>Sunny123_1</dc:creator>
      <dc:date>2009-10-06T14:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: ftp acccess for users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-acccess-for-users/m-p/5202407#M463695</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I'm lost.&lt;BR /&gt;&lt;BR /&gt;It's all the helpful advice.&lt;BR /&gt;&lt;BR /&gt;If you wish to confine users to some&lt;BR /&gt;particular directory, then you can make them&lt;BR /&gt;"guest" users.  "man ftpd", look for "guest".&lt;BR /&gt;It's much like anonymous FTP, but with real&lt;BR /&gt;log-in info.&lt;BR /&gt;&lt;BR /&gt;A Forum search for keywords like&lt;BR /&gt;      ftp guest&lt;BR /&gt;or&lt;BR /&gt;      ftp chroot&lt;BR /&gt;&lt;BR /&gt;should find (far too) many previous similar&lt;BR /&gt;discussions.</description>
      <pubDate>Tue, 06 Oct 2009 14:28:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-acccess-for-users/m-p/5202407#M463695</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-10-06T14:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: ftp acccess for users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-acccess-for-users/m-p/5202408#M463696</link>
      <description>I will check previous posts -Thanks</description>
      <pubDate>Tue, 06 Oct 2009 14:44:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-acccess-for-users/m-p/5202408#M463696</guid>
      <dc:creator>Lawrence Kaufman</dc:creator>
      <dc:date>2009-10-06T14:44:46Z</dc:date>
    </item>
  </channel>
</rss>

