<?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: another ftp question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180288#M732673</link>
    <description>Ron,&lt;BR /&gt;&lt;BR /&gt;This, i.e., setting up chroot'ed environments, is not my forte, but when you set up an account and jail it to a certain directory, anything that is not internal to the shell, will be non-existent to the user. Also the restricted shell might come into play and not allow the user to perform certain functions. I am not sure how well a chroot'ed account plays with a restricted shell if they play at all.  You might have to create a bin directory under this jailed directory and place the command executables by copying them from the default OS location into this bin directory for the ftponly user to use. Again, most of what I am telling you here is common sense. I have not set up a chrooted account for a long time myself.&lt;BR /&gt;&lt;BR /&gt;Hope this helps a little.</description>
    <pubDate>Tue, 09 Jun 2009 17:28:33 GMT</pubDate>
    <dc:creator>Mel Burslan</dc:creator>
    <dc:date>2009-06-09T17:28:33Z</dc:date>
    <item>
      <title>another ftp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180278#M732663</link>
      <description>Ok...I'm going to re-ask this differently.  Currently our /etc/passwd file contains the line for ftpuser:&lt;BR /&gt;&lt;BR /&gt;ftpuser:o7dtD1r0FnNaM:113:113:,,,:/trans/./:/usr/bin/rsh&lt;BR /&gt;&lt;BR /&gt;ftpuser logs in, and gets dropped in the /trans directory - no way up (good), no way down (bad)&lt;BR /&gt;&lt;BR /&gt;We wish the ftpuser to have access to the subdirectories of /trans, but nothing above it, (/etc, /usr, etc.)&lt;BR /&gt;&lt;BR /&gt;Any ideas?</description>
      <pubDate>Tue, 09 Jun 2009 16:01:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180278#M732663</guid>
      <dc:creator>Ron Irving</dc:creator>
      <dc:date>2009-06-09T16:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: another ftp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180279#M732664</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;use vsftpd instead od default ftp server in HP-UX.&lt;BR /&gt;&lt;BR /&gt;mikap</description>
      <pubDate>Tue, 09 Jun 2009 16:08:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180279#M732664</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2009-06-09T16:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: another ftp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180280#M732665</link>
      <description>There is DocId: KBRC00008355 that details setting up a restricted FTP server on HPUX. This is somewhat old and you may want to look for a newer doc.&lt;BR /&gt;&lt;BR /&gt;In the above doc it has the FTP user set with a shell of /usr/bin/false.&lt;BR /&gt;&lt;BR /&gt;My choice now is vsftpd.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Jun 2009 16:29:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180280#M732665</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2009-06-09T16:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: another ftp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180281#M732666</link>
      <description>what is the ownership of /trans and what are the permissions ? i.e., output of :&lt;BR /&gt;&lt;BR /&gt;ll -d /trans&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Jun 2009 16:29:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180281#M732666</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-06-09T16:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: another ftp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180282#M732667</link>
      <description>drwxrwxrwx  71 root       ftpuser      16384 Jun  9 12:22 /trans/&lt;BR /&gt;&lt;BR /&gt;so, that shoudn't be an issue, should it?</description>
      <pubDate>Tue, 09 Jun 2009 16:38:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180282#M732667</guid>
      <dc:creator>Ron Irving</dc:creator>
      <dc:date>2009-06-09T16:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: another ftp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180283#M732668</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;i think this a transport directory from SAP,&lt;BR /&gt;&lt;BR /&gt;you should add the group for the ftp user,&lt;BR /&gt;&lt;BR /&gt;that belongs to the SAP user, under which is the SAP running.&lt;BR /&gt;&lt;BR /&gt;because the SAP creating some transaction, under this user.&lt;BR /&gt;&lt;BR /&gt;mikap</description>
      <pubDate>Tue, 09 Jun 2009 16:43:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180283#M732668</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2009-06-09T16:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: another ftp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180284#M732669</link>
      <description>No SAP running on this server.  Intersystems Cache.  Run for the hills.</description>
      <pubDate>Tue, 09 Jun 2009 16:44:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180284#M732669</guid>
      <dc:creator>Ron Irving</dc:creator>
      <dc:date>2009-06-09T16:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: another ftp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180285#M732670</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Ok...I'm going to re-ask this differently.&lt;BR /&gt;&lt;BR /&gt;Different is not always better.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Currently our /etc/passwd file [...]&lt;BR /&gt;&lt;BR /&gt;Is that all the configuration you've done?&lt;BR /&gt;What about ftpaccess?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] no way down (bad)&lt;BR /&gt;&lt;BR /&gt;What, exactly, does this mean?  What,&lt;BR /&gt;exactly, fails?  /usr/bin/rsh does restrict&lt;BR /&gt;"cd" operation.  "man sh-bourne":&lt;BR /&gt;&lt;BR /&gt;      [...] The cd command cannot be&lt;BR /&gt;      executed by rsh.&lt;BR /&gt;&lt;BR /&gt;Perhaps /usr/bin/rsh was not the ideal choice&lt;BR /&gt;here.&lt;BR /&gt;&lt;BR /&gt;Did you read up on guest accounts?</description>
      <pubDate>Tue, 09 Jun 2009 17:16:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180285#M732670</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-06-09T17:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: another ftp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180286#M732671</link>
      <description>No way down means I cannot get to the subdirectories of /trans.  Currently, our business users that use this directory use an ftp client, (Cute FTP.)  Using that, when they login, they are at the /trans directory, but they can go anywhere on the system, up to root, or /etc, or /usr, and down to the subdirectory level of /trans.  We need to put a stop to regular users accessing the / directory.  That's a disaster waiting to happen.</description>
      <pubDate>Tue, 09 Jun 2009 17:22:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180286#M732671</guid>
      <dc:creator>Ron Irving</dc:creator>
      <dc:date>2009-06-09T17:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: another ftp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180287#M732672</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;disable using default hp-ux ftp server and install the vsftp, there is a lot options how to configure it, there is option that the user can stay only in his home directory ....&lt;BR /&gt;&lt;BR /&gt;mikap&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Jun 2009 17:26:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180287#M732672</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2009-06-09T17:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: another ftp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180288#M732673</link>
      <description>Ron,&lt;BR /&gt;&lt;BR /&gt;This, i.e., setting up chroot'ed environments, is not my forte, but when you set up an account and jail it to a certain directory, anything that is not internal to the shell, will be non-existent to the user. Also the restricted shell might come into play and not allow the user to perform certain functions. I am not sure how well a chroot'ed account plays with a restricted shell if they play at all.  You might have to create a bin directory under this jailed directory and place the command executables by copying them from the default OS location into this bin directory for the ftponly user to use. Again, most of what I am telling you here is common sense. I have not set up a chrooted account for a long time myself.&lt;BR /&gt;&lt;BR /&gt;Hope this helps a little.</description>
      <pubDate>Tue, 09 Jun 2009 17:28:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180288#M732673</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-06-09T17:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: another ftp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180289#M732674</link>
      <description>I will put this on the back burner until tomorrow...my eyes hurt ;)&lt;BR /&gt;&lt;BR /&gt;I have downloaded vsftpd, and will put into the development system tomorrow...hopefully no one will mass at my door with torches and pitchforks.&lt;BR /&gt;&lt;BR /&gt;Stay tuned.</description>
      <pubDate>Tue, 09 Jun 2009 17:31:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180289#M732674</guid>
      <dc:creator>Ron Irving</dc:creator>
      <dc:date>2009-06-09T17:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: another ftp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180290#M732675</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I have downloaded vsftpd [...]&lt;BR /&gt;&lt;BR /&gt;You may be working harder than you need to.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] We need to put a stop to regular&lt;BR /&gt;&amp;gt; users accessing the / directory. [...]&lt;BR /&gt;&lt;BR /&gt;That's what a guest account is intended to&lt;BR /&gt;do.  Reading the documentation can be very&lt;BR /&gt;enlightening.  Honest.&lt;BR /&gt;&lt;BR /&gt;alp $ ftp dy&lt;BR /&gt;220 dy.antinode.info FTP server (Version 1.1.214.4(PHNE_36129) Mon Apr 23 13:44:14 GMT 2007) ready.&lt;BR /&gt;Connected to dy.antinode.info.&lt;BR /&gt;Name (dy.antinode.info:sms): ftpg01&lt;BR /&gt;331 Password required for ftpg01.&lt;BR /&gt;Password:&lt;BR /&gt;230 User ftpg01 logged in.  Access restrictions apply.&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;total 0&lt;BR /&gt;drwxr-xr-x   3 2          2               96 Jun  9 15:24 usr&lt;BR /&gt;&lt;BR /&gt;226 Transfer complete.&lt;BR /&gt;72 bytes received in 00:00:00.00 seconds (70.31 Kbytes/s)&lt;BR /&gt;FTP&amp;gt; put hpux.txt&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 Opening ASCII mode data connection for hpux.txt.&lt;BR /&gt;226 Transfer complete.&lt;BR /&gt;local: ALP$DKA0:[SMS.HPUX]HPUX.TXT;9  remote: hpux.txt&lt;BR /&gt;3443 bytes sent in 00:00:00.00 seconds (3362.30 Kbytes/s)&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;total 16&lt;BR /&gt;-rw-r-----   1 501        501           3305 Jun  9 15:45 hpux.txt&lt;BR /&gt;drwxr-xr-x   3 2          2               96 Jun  9 15:24 usr&lt;BR /&gt;&lt;BR /&gt;226 Transfer complete.&lt;BR /&gt;141 bytes received in 00:00:00.00 seconds (137.70 Kbytes/s)&lt;BR /&gt;FTP&amp;gt; mkdir new_dir&lt;BR /&gt;257 MKD command successful.&lt;BR /&gt;FTP&amp;gt; cd new_dir&lt;BR /&gt;250 CWD command successful.&lt;BR /&gt;FTP&amp;gt; put hpc.txt&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 Opening ASCII mode data connection for hpc.txt.&lt;BR /&gt;226 Transfer complete.&lt;BR /&gt;local: ALP$DKA0:[SMS.HPUX]HPC.TXT;2  remote: hpc.txt&lt;BR /&gt;526 bytes sent in 00:00:00.00 seconds (513.67 Kbytes/s)&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;total 16&lt;BR /&gt;-rw-r-----   1 501        501            507 Jun  9 15:45 hpc.txt&lt;BR /&gt;&lt;BR /&gt;226 Transfer complete.&lt;BR /&gt;77 bytes received in 00:00:00.00 seconds (75.20 Kbytes/s)&lt;BR /&gt;FTP&amp;gt; pwd&lt;BR /&gt;257 "/new_dir" is current directory.&lt;BR /&gt;FTP&amp;gt; cd /&lt;BR /&gt;250 CWD command successful.&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;total 16&lt;BR /&gt;-rw-r-----   1 501        501           3305 Jun  9 15:45 hpux.txt&lt;BR /&gt;drwxr-x---   2 501        501             96 Jun  9 15:45 new_dir&lt;BR /&gt;drwxr-xr-x   3 2          2               96 Jun  9 15:24 usr&lt;BR /&gt;&lt;BR /&gt;226 Transfer complete.&lt;BR /&gt;208 bytes received in 00:00:00.00 seconds (203.13 Kbytes/s)&lt;BR /&gt;FTP&amp;gt; quit&lt;BR /&gt;221 Goodbye.&lt;BR /&gt;alp $&lt;BR /&gt;&lt;BR /&gt;I can't easily run CuteFTP here, but a&lt;BR /&gt;Mozilla-like Web browser seems to like it&lt;BR /&gt;well enough, and it's firmly stuck in its own&lt;BR /&gt;directory tree (really: "/home/ftpg01",&lt;BR /&gt;apparently: "/").</description>
      <pubDate>Tue, 09 Jun 2009 19:53:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-ftp-question/m-p/5180290#M732675</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-06-09T19:53:48Z</dc:date>
    </item>
  </channel>
</rss>

