<?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: Restricted FTP access in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp-access/m-p/2602556#M855928</link>
    <description>Thanks to all who replied. Though all were fine suggestions, I used Richard's as it was easiest for this dummy to follow.&lt;BR /&gt;Thanks again.&lt;BR /&gt;dl</description>
    <pubDate>Fri, 26 Oct 2001 23:01:42 GMT</pubDate>
    <dc:creator>Dave La Mar</dc:creator>
    <dc:date>2001-10-26T23:01:42Z</dc:date>
    <item>
      <title>Restricted FTP access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp-access/m-p/2602550#M855922</link>
      <description>I have been tasked to create an account that can ftp to our N Class 11.0 machines. This should be an ftp account only (as they have in the NT world).&lt;BR /&gt;This account would be restriced to a single directory with rw priviledge.&lt;BR /&gt;Is this possible in unix or do I need to create a regular user account?&lt;BR /&gt;Thanks for any input.&lt;BR /&gt;dl</description>
      <pubDate>Fri, 26 Oct 2001 19:30:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp-access/m-p/2602550#M855922</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2001-10-26T19:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted FTP access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp-access/m-p/2602551#M855923</link>
      <description>Do a man on ftpaccess&lt;BR /&gt;&lt;BR /&gt;You will have to create an account. And yes, unix is not NT, thank god! So you will have to create an account, even if it is an anonymous account.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;&lt;BR /&gt;harry</description>
      <pubDate>Fri, 26 Oct 2001 19:36:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp-access/m-p/2602551#M855923</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-10-26T19:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted FTP access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp-access/m-p/2602552#M855924</link>
      <description>I would try this out ..&lt;BR /&gt;&lt;BR /&gt;1) Create a normal user account (user=john group=none)&lt;BR /&gt;2) Put /usr/bin/false as the start-up program.&lt;BR /&gt;3) The entry in password file might look like this :-&lt;BR /&gt;john:chus5tya:233:20:,,,:/home/john/./:/usr/bin/false&lt;BR /&gt;4) Make sure /usr/bin/false is also coded in /etc/shells&lt;BR /&gt;5) Create the file /etc/ftpd/ftpaccess and put in these lines ..&lt;BR /&gt;class all john,guest&lt;BR /&gt;guestgroup none&lt;BR /&gt;noretrieve /etc/passwd&lt;BR /&gt;6) do man ftpaccess if not sure about the format.&lt;BR /&gt;7) # chmod 444 ftpaccess&lt;BR /&gt;   # chown bin:bin ftpaccess&lt;BR /&gt;8) Edit /etc/inetd.conf &amp;amp; add "-a" argument to ftpd&lt;BR /&gt;ftp   stream tcp nowait root /usr/lbin/ftpd ftpd -l -a&lt;BR /&gt;9) # inetd -c&lt;BR /&gt;10) Create these sub dirs and files&lt;BR /&gt;     1) ~john/usr&lt;BR /&gt;        # chown ???R bin:bin usr&lt;BR /&gt;        # chmod 555 usr&lt;BR /&gt;     2) ~john/usr/bin&lt;BR /&gt;        # chown root bin&lt;BR /&gt;        # chmod 555 bin&lt;BR /&gt;        # cp -p /sbin/ls ~john/usr/bin/ls&lt;BR /&gt;11) Test ..&lt;BR /&gt;&lt;BR /&gt;enjoy !!&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Oct 2001 19:47:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp-access/m-p/2602552#M855924</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2001-10-26T19:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted FTP access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp-access/m-p/2602553#M855925</link>
      <description>Here is a doc that I found helpfull&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Fri, 26 Oct 2001 20:48:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp-access/m-p/2602553#M855925</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2001-10-26T20:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted FTP access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp-access/m-p/2602554#M855926</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;Create the account as usual but make the shell as /bin/false.&lt;BR /&gt;&lt;BR /&gt;Now add /bin/false to /etc/shells file (if you don't have this file, create one).&lt;BR /&gt;&lt;BR /&gt;This user can only do ftp now. He/She cannot logon to the box.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 26 Oct 2001 21:03:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp-access/m-p/2602554#M855926</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-10-26T21:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted FTP access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp-access/m-p/2602555#M855927</link>
      <description>Ooops. Didn't read your message completely...&lt;BR /&gt;&lt;BR /&gt;Check ftpaccess manpage. It's easy. You just need to change the home directory should be of the form /./some_dir.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 26 Oct 2001 21:05:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp-access/m-p/2602555#M855927</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-10-26T21:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted FTP access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp-access/m-p/2602556#M855928</link>
      <description>Thanks to all who replied. Though all were fine suggestions, I used Richard's as it was easiest for this dummy to follow.&lt;BR /&gt;Thanks again.&lt;BR /&gt;dl</description>
      <pubDate>Fri, 26 Oct 2001 23:01:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-ftp-access/m-p/2602556#M855928</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2001-10-26T23:01:42Z</dc:date>
    </item>
  </channel>
</rss>

