<?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: How can  I implement anonymous ftp? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-implement-anonymous-ftp/m-p/2423259#M394</link>
    <description>Have a look at the HP doc id A4747623.&lt;BR /&gt;It tells you how to setup anonymous ftp.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To configure anonymous FTP, execute the following:&lt;BR /&gt;&lt;BR /&gt;1. Edit /etc/passwd file:&lt;BR /&gt;a. vi /etc/passwd&lt;BR /&gt;   Add a line for user ftp. For example:&lt;BR /&gt;      ftp:*:guest:anonymous ftp:/home/ftp:/usr/bin/false&lt;BR /&gt;&lt;BR /&gt;2. Create the ftp home directory:&lt;BR /&gt;a. cd /home&lt;BR /&gt;b. mkdir ftp&lt;BR /&gt;&lt;BR /&gt;3. Create the subdirectory /usr/bin under the ftp home directory:&lt;BR /&gt;a. cd /home/ftp&lt;BR /&gt;b. mkdir usr&lt;BR /&gt;c. cd usr&lt;BR /&gt;d. mkdir bin&lt;BR /&gt;&lt;BR /&gt;4. Copy the ls and pwd command from /usr/bin to ~ftp/usr/bin.&lt;BR /&gt;Set permissions to executable only 0111:&lt;BR /&gt;a. cp /usr/bin/ls /home/ftp/usr/bin&lt;BR /&gt;b. cp /usr/bin/pwd /home/ftp/usr/bin&lt;BR /&gt;c. chmod 0111 /home/ftp/usr/bin/ls&lt;BR /&gt;d. chmod 0111 /home/ftp/usr/bin/pwd&lt;BR /&gt;&lt;BR /&gt;5. Set the owner of ~fpt/usr/bin and ~ftp/usr directories to root.&lt;BR /&gt;Set permissions to not writable 0555:&lt;BR /&gt;a. chown root /home/ftp/usr/bin&lt;BR /&gt;b. chmod 0555 /home/ftp/usr/bin&lt;BR /&gt;c. chown root /home/ftp/usr&lt;BR /&gt;d. chmod 0555 /home/ftp/usr&lt;BR /&gt;&lt;BR /&gt;6. Create the subdirectory etc under the ftp home directory:&lt;BR /&gt;a. cd /home/ftp&lt;BR /&gt;b. mkdir etc&lt;BR /&gt;&lt;BR /&gt;7. Copy /etc/passwd and /etc/group to ~ftp/etc:&lt;BR /&gt;a. cp /etc/passwd /home/ftp/etc&lt;BR /&gt;b. cp /etc/group /home ftp/etc&lt;BR /&gt;&lt;BR /&gt;8. Replace the password field in all entries in /home/ftp/etc/passwd&lt;BR /&gt;with *. Delete the shell field from each entry:&lt;BR /&gt;a. vi /home/ftp/etc/passwd&lt;BR /&gt;      --ftp:*:500:guest:anonymous ftp:/home/ftp:&lt;BR /&gt;      --acb:*:8996:20::/home/acb:&lt;BR /&gt;&lt;BR /&gt;9. Replace the password field in all entries in /home/ftp/etc/group&lt;BR /&gt;with *.&lt;BR /&gt;a. vi /home/ftp/etc/group&lt;BR /&gt;      --users:*:20:acb&lt;BR /&gt;      --guest:*:21:ftp&lt;BR /&gt;&lt;BR /&gt;10. Set the owner of the files in ~ftp/etc to root.  Set permissions&lt;BR /&gt;to read only 0444:&lt;BR /&gt;a. chown root /home/ftp/etc/passwd&lt;BR /&gt;b. chmod 0444 /home/ftp/etc/passwd&lt;BR /&gt;c. chown root /home/ftp/etc/group&lt;BR /&gt;d. chmod 0444 /home/ftp/etc/group&lt;BR /&gt;&lt;BR /&gt;11. Set the owner of ~ftp/etc to root.  Set permissions to&lt;BR /&gt;not writable 0555:&lt;BR /&gt;a. chown root /home/ftp/etc&lt;BR /&gt;b. chmod 0555 /home/ftp/etc&lt;BR /&gt;&lt;BR /&gt;12. Create a directory called pub under ~ftp. Set owner to user ftp&lt;BR /&gt;and set permissions to writable by all 0777:&lt;BR /&gt;a. mkdir /home/ftp/pub&lt;BR /&gt;b. chown ftp /home/ftp/pub&lt;BR /&gt;c. chmod 0777 /home/ftp/pub&lt;BR /&gt;&lt;BR /&gt;13. Create directory called dist under ~ftp.  Set owner to root and&lt;BR /&gt;permissions writable only by root 0755:&lt;BR /&gt;a. mkdir /home/ftp/dist&lt;BR /&gt;b. chown root /home/ftp/dist&lt;BR /&gt;c. chmod 0755 /home/ftp/dist&lt;BR /&gt;&lt;BR /&gt;14. Set owner of ftp home directory to root.  Set permissions to not&lt;BR /&gt;writable 0555.&lt;BR /&gt;a. chown root /home/ftp&lt;BR /&gt;b. chmod 0555 /home/ftp&lt;BR /&gt;</description>
    <pubDate>Wed, 17 May 2000 00:56:17 GMT</pubDate>
    <dc:creator>Anthony Goonetilleke</dc:creator>
    <dc:date>2000-05-17T00:56:17Z</dc:date>
    <item>
      <title>How can  I implement anonymous ftp?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-implement-anonymous-ftp/m-p/2423258#M393</link>
      <description>Anybody can advise me on how to implement anonymous ftp ?   I have tried it myself with the help of "man ftpd",  but after I got the "ftp&amp;gt;" prompt,  I can't see the contents of the current directory, even though I can transfer files if I know  the file name.</description>
      <pubDate>Wed, 17 May 2000 00:45:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-implement-anonymous-ftp/m-p/2423258#M393</guid>
      <dc:creator>Rashid Ali</dc:creator>
      <dc:date>2000-05-17T00:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can  I implement anonymous ftp?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-implement-anonymous-ftp/m-p/2423259#M394</link>
      <description>Have a look at the HP doc id A4747623.&lt;BR /&gt;It tells you how to setup anonymous ftp.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To configure anonymous FTP, execute the following:&lt;BR /&gt;&lt;BR /&gt;1. Edit /etc/passwd file:&lt;BR /&gt;a. vi /etc/passwd&lt;BR /&gt;   Add a line for user ftp. For example:&lt;BR /&gt;      ftp:*:guest:anonymous ftp:/home/ftp:/usr/bin/false&lt;BR /&gt;&lt;BR /&gt;2. Create the ftp home directory:&lt;BR /&gt;a. cd /home&lt;BR /&gt;b. mkdir ftp&lt;BR /&gt;&lt;BR /&gt;3. Create the subdirectory /usr/bin under the ftp home directory:&lt;BR /&gt;a. cd /home/ftp&lt;BR /&gt;b. mkdir usr&lt;BR /&gt;c. cd usr&lt;BR /&gt;d. mkdir bin&lt;BR /&gt;&lt;BR /&gt;4. Copy the ls and pwd command from /usr/bin to ~ftp/usr/bin.&lt;BR /&gt;Set permissions to executable only 0111:&lt;BR /&gt;a. cp /usr/bin/ls /home/ftp/usr/bin&lt;BR /&gt;b. cp /usr/bin/pwd /home/ftp/usr/bin&lt;BR /&gt;c. chmod 0111 /home/ftp/usr/bin/ls&lt;BR /&gt;d. chmod 0111 /home/ftp/usr/bin/pwd&lt;BR /&gt;&lt;BR /&gt;5. Set the owner of ~fpt/usr/bin and ~ftp/usr directories to root.&lt;BR /&gt;Set permissions to not writable 0555:&lt;BR /&gt;a. chown root /home/ftp/usr/bin&lt;BR /&gt;b. chmod 0555 /home/ftp/usr/bin&lt;BR /&gt;c. chown root /home/ftp/usr&lt;BR /&gt;d. chmod 0555 /home/ftp/usr&lt;BR /&gt;&lt;BR /&gt;6. Create the subdirectory etc under the ftp home directory:&lt;BR /&gt;a. cd /home/ftp&lt;BR /&gt;b. mkdir etc&lt;BR /&gt;&lt;BR /&gt;7. Copy /etc/passwd and /etc/group to ~ftp/etc:&lt;BR /&gt;a. cp /etc/passwd /home/ftp/etc&lt;BR /&gt;b. cp /etc/group /home ftp/etc&lt;BR /&gt;&lt;BR /&gt;8. Replace the password field in all entries in /home/ftp/etc/passwd&lt;BR /&gt;with *. Delete the shell field from each entry:&lt;BR /&gt;a. vi /home/ftp/etc/passwd&lt;BR /&gt;      --ftp:*:500:guest:anonymous ftp:/home/ftp:&lt;BR /&gt;      --acb:*:8996:20::/home/acb:&lt;BR /&gt;&lt;BR /&gt;9. Replace the password field in all entries in /home/ftp/etc/group&lt;BR /&gt;with *.&lt;BR /&gt;a. vi /home/ftp/etc/group&lt;BR /&gt;      --users:*:20:acb&lt;BR /&gt;      --guest:*:21:ftp&lt;BR /&gt;&lt;BR /&gt;10. Set the owner of the files in ~ftp/etc to root.  Set permissions&lt;BR /&gt;to read only 0444:&lt;BR /&gt;a. chown root /home/ftp/etc/passwd&lt;BR /&gt;b. chmod 0444 /home/ftp/etc/passwd&lt;BR /&gt;c. chown root /home/ftp/etc/group&lt;BR /&gt;d. chmod 0444 /home/ftp/etc/group&lt;BR /&gt;&lt;BR /&gt;11. Set the owner of ~ftp/etc to root.  Set permissions to&lt;BR /&gt;not writable 0555:&lt;BR /&gt;a. chown root /home/ftp/etc&lt;BR /&gt;b. chmod 0555 /home/ftp/etc&lt;BR /&gt;&lt;BR /&gt;12. Create a directory called pub under ~ftp. Set owner to user ftp&lt;BR /&gt;and set permissions to writable by all 0777:&lt;BR /&gt;a. mkdir /home/ftp/pub&lt;BR /&gt;b. chown ftp /home/ftp/pub&lt;BR /&gt;c. chmod 0777 /home/ftp/pub&lt;BR /&gt;&lt;BR /&gt;13. Create directory called dist under ~ftp.  Set owner to root and&lt;BR /&gt;permissions writable only by root 0755:&lt;BR /&gt;a. mkdir /home/ftp/dist&lt;BR /&gt;b. chown root /home/ftp/dist&lt;BR /&gt;c. chmod 0755 /home/ftp/dist&lt;BR /&gt;&lt;BR /&gt;14. Set owner of ftp home directory to root.  Set permissions to not&lt;BR /&gt;writable 0555.&lt;BR /&gt;a. chown root /home/ftp&lt;BR /&gt;b. chmod 0555 /home/ftp&lt;BR /&gt;</description>
      <pubDate>Wed, 17 May 2000 00:56:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-implement-anonymous-ftp/m-p/2423259#M394</guid>
      <dc:creator>Anthony Goonetilleke</dc:creator>
      <dc:date>2000-05-17T00:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can  I implement anonymous ftp?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-implement-anonymous-ftp/m-p/2423260#M395</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;            SAM&lt;BR /&gt;             |&lt;BR /&gt;  Networking and Communications&lt;BR /&gt;             |&lt;BR /&gt;        Network services&lt;BR /&gt;             |&lt;BR /&gt;        Anonymous FTP&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;venu</description>
      <pubDate>Wed, 17 May 2000 08:32:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-implement-anonymous-ftp/m-p/2423260#M395</guid>
      <dc:creator>Venu_2</dc:creator>
      <dc:date>2000-05-17T08:32:18Z</dc:date>
    </item>
  </channel>
</rss>

