<?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 only user? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-only-user/m-p/2465054#M759936</link>
    <description>The way i've setup user ftp only is by adding the exit command in the user's /home/username/.profile script &lt;BR /&gt;&lt;BR /&gt;This disconnects the user when they try to login but allows ftp access.</description>
    <pubDate>Thu, 16 Nov 2000 13:39:09 GMT</pubDate>
    <dc:creator>Tony Constantine_1</dc:creator>
    <dc:date>2000-11-16T13:39:09Z</dc:date>
    <item>
      <title>FTP only user?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-only-user/m-p/2465053#M759935</link>
      <description>Is there a method for creating a user that can only FTP, not rlogin, telnet or anything else?&lt;BR /&gt;&lt;BR /&gt;By the way, since it seems to be an issue, I assign points to any answers I get...</description>
      <pubDate>Thu, 16 Nov 2000 13:28:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-only-user/m-p/2465053#M759935</guid>
      <dc:creator>Brian Atkins</dc:creator>
      <dc:date>2000-11-16T13:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: FTP only user?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-only-user/m-p/2465054#M759936</link>
      <description>The way i've setup user ftp only is by adding the exit command in the user's /home/username/.profile script &lt;BR /&gt;&lt;BR /&gt;This disconnects the user when they try to login but allows ftp access.</description>
      <pubDate>Thu, 16 Nov 2000 13:39:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-only-user/m-p/2465054#M759936</guid>
      <dc:creator>Tony Constantine_1</dc:creator>
      <dc:date>2000-11-16T13:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: FTP only user?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-only-user/m-p/2465055#M759937</link>
      <description>I dont know if this could be done but my first guess is to assign a shell for the user that is no good e.g. /bin/false.&lt;BR /&gt;&lt;BR /&gt;Just remember to add it to /etc/shells.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Nov 2000 13:41:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-only-user/m-p/2465055#M759937</guid>
      <dc:creator>Lasse Knudsen</dc:creator>
      <dc:date>2000-11-16T13:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: FTP only user?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-only-user/m-p/2465056#M759938</link>
      <description>Brian,&lt;BR /&gt;&lt;BR /&gt;I recommend the use of the /bin/false shell.&lt;BR /&gt;&lt;BR /&gt;This allows you to create the user, the password (and any potential updates for the password), and not allow them to log onto the server.&lt;BR /&gt;&lt;BR /&gt;You get the best of all worlds, User/Password authentication and no access.</description>
      <pubDate>Thu, 16 Nov 2000 13:53:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-only-user/m-p/2465056#M759938</guid>
      <dc:creator>Albert E. Whale, CISSP</dc:creator>
      <dc:date>2000-11-16T13:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: FTP only user?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-only-user/m-p/2465057#M759939</link>
      <description>Thanks, I used both methods.</description>
      <pubDate>Thu, 16 Nov 2000 14:05:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-only-user/m-p/2465057#M759939</guid>
      <dc:creator>Brian Atkins</dc:creator>
      <dc:date>2000-11-16T14:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: FTP only user?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-only-user/m-p/2465058#M759940</link>
      <description>Brian&lt;BR /&gt;&lt;BR /&gt;another way to deny telnet access is to use the /var/adm/inetd.sec file&lt;BR /&gt;&lt;BR /&gt;telnet     deny     10.40.220.100  #deny only this ip address&lt;BR /&gt;&lt;BR /&gt;telnet     deny     10.40.*.*  #deny 10.40  range&lt;BR /&gt;&lt;BR /&gt;do a man on inetd&lt;BR /&gt;  &lt;BR /&gt;</description>
      <pubDate>Thu, 16 Nov 2000 14:08:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-only-user/m-p/2465058#M759940</guid>
      <dc:creator>Tony Constantine_1</dc:creator>
      <dc:date>2000-11-16T14:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: FTP only user?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-only-user/m-p/2465059#M759941</link>
      <description>Brian,&lt;BR /&gt;&lt;BR /&gt;FYI - the .profile will never be executed if you use the /bin/false option.&lt;BR /&gt;&lt;BR /&gt;I just wanted to save you a little effort in your administration of the ftp user.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.</description>
      <pubDate>Thu, 16 Nov 2000 14:26:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-only-user/m-p/2465059#M759941</guid>
      <dc:creator>Albert E. Whale, CISSP</dc:creator>
      <dc:date>2000-11-16T14:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: FTP only user?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-only-user/m-p/2465060#M759942</link>
      <description>Using .profile is not a good idea. It is still (with a little luck) possible to interrupt the .profile execution using ctrl-c and then get a shell.&lt;BR /&gt;&lt;BR /&gt;You are still able to use 'remsh' and bypass .profile execution.&lt;BR /&gt;&lt;BR /&gt;Try this:&lt;BR /&gt;&lt;BR /&gt;remsh &lt;SERVER&gt; /usr/bin/X11/xterm -display &lt;YOURWS&gt;:0.0&lt;BR /&gt;&lt;BR /&gt;And you will get a nice window with a shell prompt- I do not think that was what you wanted.&lt;BR /&gt;&lt;BR /&gt;Use /bin/false - method&lt;/YOURWS&gt;&lt;/SERVER&gt;</description>
      <pubDate>Thu, 16 Nov 2000 14:37:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-only-user/m-p/2465060#M759942</guid>
      <dc:creator>Lasse Knudsen</dc:creator>
      <dc:date>2000-11-16T14:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: FTP only user?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-only-user/m-p/2465061#M759943</link>
      <description>Brian:&lt;BR /&gt;&lt;BR /&gt;With regard to Tony &amp;amp; Allan's comments about using the "profile" exit, you can harden your profile against shell-out by adding the following trap at the very beginning:&lt;BR /&gt;&lt;BR /&gt;trap "" 1 2 3&lt;BR /&gt;&lt;BR /&gt;In the case you are trying to achieve, I would choose the substitution of /usr/bin/false in place of a standard shell specification in /etc/passwd.  You do not need to add this to /etc/shells.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 16 Nov 2000 16:43:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-only-user/m-p/2465061#M759943</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-11-16T16:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: FTP only user?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-only-user/m-p/2465062#M759944</link>
      <description>Hi &lt;BR /&gt;The .profile option is not as secure as /usr/bin/false ie as previously mentioned it can be bypassed or broken out.&lt;BR /&gt;&lt;BR /&gt;Do not give them a shell :-&lt;BR /&gt;&lt;BR /&gt; ftpuser:*:200:10:FTP User:/home/ftp:/usr/bin/false&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Paula &lt;BR /&gt;</description>
      <pubDate>Thu, 16 Nov 2000 20:44:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-only-user/m-p/2465062#M759944</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2000-11-16T20:44:29Z</dc:date>
    </item>
  </channel>
</rss>

