<?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: Restrict ftp user to use basic commands only like ls , cd in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-user-to-use-basic-commands-only-like-ls-cd/m-p/5153668#M455183</link>
    <description>&amp;gt; I want restrict this cdot_hp user [...]&lt;BR /&gt;&lt;BR /&gt;Why do you care?  How much damage can a guest&lt;BR /&gt;user do?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I am unable to find binaries for ftp&lt;BR /&gt;&amp;gt; commands like mput..&lt;BR /&gt;&lt;BR /&gt;"ftp" and "ftpd" are (mostly) complete&lt;BR /&gt;programs.  There are not separate executables&lt;BR /&gt;(at either end) for each FTP (client or&lt;BR /&gt;server) command.  "ls" is an exception on the&lt;BR /&gt;server side for this FTP server, for use with&lt;BR /&gt;the LIST command ("dir" or "ls" for the user&lt;BR /&gt;of this FTP client).  It's not used for the&lt;BR /&gt;NLST command ("nlist" for the client user).&lt;BR /&gt;So far as I know, everything else is built&lt;BR /&gt;in.</description>
    <pubDate>Fri, 30 Jan 2009 11:14:18 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2009-01-30T11:14:18Z</dc:date>
    <item>
      <title>Restrict ftp user to use basic commands only like ls , cd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-user-to-use-basic-commands-only-like-ls-cd/m-p/5153667#M455182</link>
      <description>Hi All,&lt;BR /&gt;I have created a ftp user under ftponly group.&lt;BR /&gt;I have done the following:&lt;BR /&gt;&lt;BR /&gt;1.Made an entry in /etc/ftpd/ftpacess file :&lt;BR /&gt;guestgroup ftponly&lt;BR /&gt;2.In /etc/passwd , user exists as:&lt;BR /&gt;cdot_hp:KinfCt2uf5Klc:122:104::/bplmisc/tap_files/chd/Tapin_Mach/HP/./:/usr/bin/ftpshell&lt;BR /&gt;3. In /etc/group, group exists as :&lt;BR /&gt;ftponly::104:&lt;BR /&gt;4. i have made ftp entry in /etc/inetd.conf as:&lt;BR /&gt;ftp          stream tcp nowait root /usr/lbin/ftpd      ftpd -a -l&lt;BR /&gt;5. I have reconfigured /etc/inetd.cong using inetd -c command.&lt;BR /&gt;6.The directory structure &lt;BR /&gt;/bplmisc/tap_files/chd/Tapin_Mach/HP/usr/bin  has been created and ls command has been pasted to this bin directory.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I want restrict this cdot_hp user to use only a set of commands like cd, put,mput,ls only...&lt;BR /&gt;But it is able to use all the commands that a normal ftp user can..&lt;BR /&gt;Pl. suggest how to restrict the user....&lt;BR /&gt;Also . I am unable to find binaries for ftp commands like mput..&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Saket Bansal</description>
      <pubDate>Fri, 30 Jan 2009 09:24:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-user-to-use-basic-commands-only-like-ls-cd/m-p/5153667#M455182</guid>
      <dc:creator>saket bansal_1</dc:creator>
      <dc:date>2009-01-30T09:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict ftp user to use basic commands only like ls , cd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-user-to-use-basic-commands-only-like-ls-cd/m-p/5153668#M455183</link>
      <description>&amp;gt; I want restrict this cdot_hp user [...]&lt;BR /&gt;&lt;BR /&gt;Why do you care?  How much damage can a guest&lt;BR /&gt;user do?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I am unable to find binaries for ftp&lt;BR /&gt;&amp;gt; commands like mput..&lt;BR /&gt;&lt;BR /&gt;"ftp" and "ftpd" are (mostly) complete&lt;BR /&gt;programs.  There are not separate executables&lt;BR /&gt;(at either end) for each FTP (client or&lt;BR /&gt;server) command.  "ls" is an exception on the&lt;BR /&gt;server side for this FTP server, for use with&lt;BR /&gt;the LIST command ("dir" or "ls" for the user&lt;BR /&gt;of this FTP client).  It's not used for the&lt;BR /&gt;NLST command ("nlist" for the client user).&lt;BR /&gt;So far as I know, everything else is built&lt;BR /&gt;in.</description>
      <pubDate>Fri, 30 Jan 2009 11:14:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-user-to-use-basic-commands-only-like-ls-cd/m-p/5153668#M455183</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-01-30T11:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict ftp user to use basic commands only like ls , cd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-user-to-use-basic-commands-only-like-ls-cd/m-p/5153669#M455184</link>
      <description>Hi Steven,&lt;BR /&gt;Actually as per bussiness requirement we need to give ftp access to a third party vendor..so we doesn't want them to put any files on the server...But he shud be able to get them...also we dosn't want him to access the directory structure other than his home(this has been achieved).&lt;BR /&gt;&lt;BR /&gt;So please suggest some way to restrict his activities...</description>
      <pubDate>Fri, 30 Jan 2009 11:36:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-user-to-use-basic-commands-only-like-ls-cd/m-p/5153669#M455184</guid>
      <dc:creator>saket bansal_1</dc:creator>
      <dc:date>2009-01-30T11:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict ftp user to use basic commands only like ls , cd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-user-to-use-basic-commands-only-like-ls-cd/m-p/5153670#M455185</link>
      <description>A correction on above st.&lt;BR /&gt;&lt;BR /&gt;He shud be able to put files on server..but restrict "get".&lt;BR /&gt;&lt;BR /&gt;Rgrds,&lt;BR /&gt;Saket Bansal</description>
      <pubDate>Fri, 30 Jan 2009 11:39:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-user-to-use-basic-commands-only-like-ls-cd/m-p/5153670#M455185</guid>
      <dc:creator>saket bansal_1</dc:creator>
      <dc:date>2009-01-30T11:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict ftp user to use basic commands only like ls , cd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-user-to-use-basic-commands-only-like-ls-cd/m-p/5153671#M455186</link>
      <description>Then why not just chmod the files? afaik ftpd's usually adhere to filesystem permissions.&lt;BR /&gt;&lt;BR /&gt;remove the write permission on the folder and make sure that all files in the directory is in read only.&lt;BR /&gt;&lt;BR /&gt;I might be wrong, but I seem to remember something like this.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Fredrik Eriksson</description>
      <pubDate>Fri, 30 Jan 2009 11:48:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-user-to-use-basic-commands-only-like-ls-cd/m-p/5153671#M455186</guid>
      <dc:creator>Fredrik.eriksson</dc:creator>
      <dc:date>2009-01-30T11:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict ftp user to use basic commands only like ls , cd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-user-to-use-basic-commands-only-like-ls-cd/m-p/5153672#M455187</link>
      <description>sorry, didn't read it properly... chmod could still solve the issue, just make sure all the files is chmodded to a permission setting where he is not allowed to touch the files, while you still have write permission in the directory.&lt;BR /&gt;&lt;BR /&gt;no points for this one please :P</description>
      <pubDate>Fri, 30 Jan 2009 11:50:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-user-to-use-basic-commands-only-like-ls-cd/m-p/5153672#M455187</guid>
      <dc:creator>Fredrik.eriksson</dc:creator>
      <dc:date>2009-01-30T11:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict ftp user to use basic commands only like ls , cd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-user-to-use-basic-commands-only-like-ls-cd/m-p/5153673#M455188</link>
      <description>&amp;gt;&amp;gt;, &lt;BR /&gt;Actually as per bussiness requirement we need to give ftp access to a third party vendor..so we doesn't want them to put any files on the server...But he shud be able to get them...also we dosn't want him to access the directory structure other than his home(this has been achieved). &lt;BR /&gt;&lt;BR /&gt;So please suggest some way to restrict his activities&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Hi Saket,&lt;BR /&gt;&lt;BR /&gt;You have created a restricted ftpuser account, so nornal behaviour&lt;BR /&gt;1. he cant ' do cd,he will Jailed in the said folder of the of the ftpuser account,&lt;BR /&gt;meaningfull he can't to Change Directory, &lt;BR /&gt;2. Setup the Folder permision read-only&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Thx,&lt;BR /&gt;Johnson</description>
      <pubDate>Fri, 30 Jan 2009 11:55:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-user-to-use-basic-commands-only-like-ls-cd/m-p/5153673#M455188</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-01-30T11:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict ftp user to use basic commands only like ls , cd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-user-to-use-basic-commands-only-like-ls-cd/m-p/5153674#M455189</link>
      <description>Sounds to me like you want to configure restricted ftp with a chroot environment.&lt;BR /&gt;&lt;BR /&gt;See the following links...&lt;BR /&gt;&lt;BR /&gt;(The first is a good one)&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://newfdawg.com/SHP-FTP-anon.htm" target="_blank"&gt;http://newfdawg.com/SHP-FTP-anon.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1264911" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1264911&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&amp;amp;cc=us&amp;amp;taskId=115&amp;amp;prodSeriesId=3215373&amp;amp;prodTypeId=18964&amp;amp;objectID=c01516983" target="_blank"&gt;http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&amp;amp;cc=us&amp;amp;taskId=115&amp;amp;prodSeriesId=3215373&amp;amp;prodTypeId=18964&amp;amp;objectID=c01516983&lt;/A&gt;</description>
      <pubDate>Fri, 30 Jan 2009 11:57:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-user-to-use-basic-commands-only-like-ls-cd/m-p/5153674#M455189</guid>
      <dc:creator>bright image</dc:creator>
      <dc:date>2009-01-30T11:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict ftp user to use basic commands only like ls , cd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-user-to-use-basic-commands-only-like-ls-cd/m-p/5153675#M455190</link>
      <description>&amp;gt; Sounds to me like you want to [...]&lt;BR /&gt;&lt;BR /&gt;Sounds to me as if he already has.&lt;BR /&gt;&lt;BR /&gt;Have you tried using FTP to see files outside&lt;BR /&gt;this user's home directory?  If you did the&lt;BR /&gt;guest-user stuff correctly, this should be&lt;BR /&gt;impossible.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; He shud be able to put files on server..but&lt;BR /&gt;&amp;gt; restrict "get".&lt;BR /&gt;&lt;BR /&gt;If he already has the files, why would he&lt;BR /&gt;wish to get them back again?  Or did you plan&lt;BR /&gt;to let many users use the same account, but&lt;BR /&gt;not see each other's files?  (Or what,&lt;BR /&gt;exactly, worries you?)  There are advantages&lt;BR /&gt;to giving each user his own guest account.&lt;BR /&gt;&lt;BR /&gt;I haven't done this in many years, but as I&lt;BR /&gt;recall, you can remove "r" (or "x"?)&lt;BR /&gt;permission from your upload directory, and&lt;BR /&gt;that will stop users from seeing a listing&lt;BR /&gt;of the files which are there.  But if the&lt;BR /&gt;user knows (or can guess) a file's name, he&lt;BR /&gt;can still fetch it.&lt;BR /&gt;&lt;BR /&gt;It might be easier/faster to try some thing&lt;BR /&gt;(like different directory permissions) than&lt;BR /&gt;to ask about them.</description>
      <pubDate>Fri, 30 Jan 2009 12:39:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-user-to-use-basic-commands-only-like-ls-cd/m-p/5153675#M455190</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-01-30T12:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict ftp user to use basic commands only like ls , cd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-user-to-use-basic-commands-only-like-ls-cd/m-p/5153676#M455191</link>
      <description>--</description>
      <pubDate>Fri, 30 Jan 2009 18:32:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-ftp-user-to-use-basic-commands-only-like-ls-cd/m-p/5153676#M455191</guid>
      <dc:creator>saket bansal_1</dc:creator>
      <dc:date>2009-01-30T18:32:26Z</dc:date>
    </item>
  </channel>
</rss>

