<?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 session access in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-session-access/m-p/2925106#M110475</link>
    <description>Refer to /etc/ftpusers.  You can allow or deny by specific users this way.  For example, the ftpd daemon will reject users listed here.  Each account for each user must be listed one per line.</description>
    <pubDate>Wed, 12 Mar 2003 13:07:11 GMT</pubDate>
    <dc:creator>Michael Steele_2</dc:creator>
    <dc:date>2003-03-12T13:07:11Z</dc:date>
    <item>
      <title>FTP session access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-session-access/m-p/2925105#M110474</link>
      <description>Dear all,&lt;BR /&gt;&lt;BR /&gt;How can I limiting ftp access, I mean that in ftp session user can not doing change directory (CD) to another directory besides his directory.&lt;BR /&gt;&lt;BR /&gt;Any ideas..?&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;&lt;BR /&gt;Sam</description>
      <pubDate>Wed, 12 Mar 2003 13:04:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-session-access/m-p/2925105#M110474</guid>
      <dc:creator>Samboja</dc:creator>
      <dc:date>2003-03-12T13:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: FTP session access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-session-access/m-p/2925106#M110475</link>
      <description>Refer to /etc/ftpusers.  You can allow or deny by specific users this way.  For example, the ftpd daemon will reject users listed here.  Each account for each user must be listed one per line.</description>
      <pubDate>Wed, 12 Mar 2003 13:07:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-session-access/m-p/2925106#M110475</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-03-12T13:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: FTP session access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-session-access/m-p/2925107#M110476</link>
      <description>Set their startup shell in /etc/passwd to /bin/false.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 12 Mar 2003 13:11:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-session-access/m-p/2925107#M110476</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-03-12T13:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: FTP session access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-session-access/m-p/2925108#M110477</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;Here's the instructions on achieving your design for ftp access into the server:&lt;BR /&gt;&lt;BR /&gt;1)load in  [PHNE_23949/PACHRDME/English]  (or latest ftp/ftpd). This patch resolves a couple of&lt;BR /&gt;issues with ftpaccess.&lt;BR /&gt;&lt;BR /&gt;2) create a user via SAM   (eg. user= test1   group= none)&lt;BR /&gt;&lt;BR /&gt;3) This user has ONLY ftp access, so it would be wise to&lt;BR /&gt;   code the start-up program as /usr/bin/false&lt;BR /&gt;&lt;BR /&gt;4) For the home directory, specify /home//.  eg:&lt;BR /&gt;   /home/test1/./  (explanation in man ftpaccess)/etc/passwd looks like&lt;BR /&gt;   test1:qXznDQ1RUwqZ6:115:20:,,,:/home/test1/./:/usr/bin/false&lt;BR /&gt;**ignore the error with SAM not being able to create a /. directory.&lt;BR /&gt;&lt;BR /&gt;5) all other questions in SAM are as per normal.&lt;BR /&gt;&lt;BR /&gt;6) ensure that /usr/bin/false is also coded in a file /etc/shells&lt;BR /&gt;&lt;BR /&gt;7) then edit-create the file /etc/ftpd/ftpaccess to have these lines:&lt;BR /&gt;class all test1,guest *                 &amp;lt;-- line#1&lt;BR /&gt;guestgroup none                         &amp;lt;-- line#2&lt;BR /&gt;limit all 5 Any /no-more-ftp-access     &amp;lt;-- line#3&lt;BR /&gt;noretrieve /etc/passwd core             &amp;lt;-- line#4&lt;BR /&gt;&lt;BR /&gt; with #chmod 444 ftpaccess&lt;BR /&gt;      #chown bin:bin ftpaccess&lt;BR /&gt;&lt;BR /&gt;Explanation:&lt;BR /&gt;line#1 : 'class' is a verb&lt;BR /&gt;         'all' is a class of users;&lt;BR /&gt;          you can call it anything   you like.&lt;BR /&gt;         'guest' is a verb ???test1??? is the user name&lt;BR /&gt;         '*' is the range of users allowed to ftp&lt;BR /&gt;             into the machine.&lt;BR /&gt;             You can restrict this further if you want to.&lt;BR /&gt;             Do a man ftpaccess&lt;BR /&gt;&lt;BR /&gt;line#2 : 'guestgroup' is a verb&lt;BR /&gt;       : 'none' is the group name of the users&lt;BR /&gt;          that have been coded via SAM&lt;BR /&gt;          (see /etc/group to find out what group&lt;BR /&gt;           that  has)&lt;BR /&gt;&lt;BR /&gt;line#3 : 'limit' is a verb&lt;BR /&gt;         'all' as per line#1,the class of users.&lt;BR /&gt;         '5' is the number of ftp sessions; in this case&lt;BR /&gt;          its five.&lt;BR /&gt;          You can change it to any number of your choice.&lt;BR /&gt;         'Any' , do a man ftpaccess for explanation&lt;BR /&gt;         '/no-more-ftp-access' is a filename that&lt;BR /&gt;          contains a message to be displayed when the&lt;BR /&gt;         limit is reached.&lt;BR /&gt;&lt;BR /&gt;line#4 : types of files to restrict&lt;BR /&gt;&lt;BR /&gt;8) then edit /etc/inetd.conf to add in '-a' argument for ftpd; thus:&lt;BR /&gt; ftp   stream tcp nowait root /usr/lbin/ftpd    ftpd -l -a&lt;BR /&gt;&lt;BR /&gt;9) inetd -c  (to re-read the configuration file)&lt;BR /&gt;&lt;BR /&gt;10) Create the following subdirecties and files:&lt;BR /&gt;     a. ~test1/usr&lt;BR /&gt;        #chown ???R bin:bin usr&lt;BR /&gt;        #chmod 555 usr&lt;BR /&gt;     b. ~test1/usr/bin&lt;BR /&gt;        #chown root bin&lt;BR /&gt;        #chmod 555 bin&lt;BR /&gt;        #cp -p /sbin/ls ~test1/usr/bin/ls&lt;BR /&gt;&lt;BR /&gt;11) The ~test1/usr/bin/ls allows the use of the 'ls' command in ftp to find out&lt;BR /&gt;the files that are present in their directory.&lt;BR /&gt;&lt;BR /&gt;12) test to verify&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Mar 2003 13:29:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-session-access/m-p/2925108#M110477</guid>
      <dc:creator>eran maor</dc:creator>
      <dc:date>2003-03-12T13:29:44Z</dc:date>
    </item>
  </channel>
</rss>

