<?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 access w/o shell access in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access-w-o-shell-access/m-p/2553822#M886428</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I think creation of normal user and put exit as the last line of the .profile file of that user will solve ur problem.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Joe.</description>
    <pubDate>Tue, 17 Jul 2001 15:20:07 GMT</pubDate>
    <dc:creator>Joseph Chakkery</dc:creator>
    <dc:date>2001-07-17T15:20:07Z</dc:date>
    <item>
      <title>ftp access w/o shell access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access-w-o-shell-access/m-p/2553814#M886420</link>
      <description>we are running 11.0 and want to set up an account with ftp only access.  Is this possible?</description>
      <pubDate>Tue, 17 Jul 2001 14:41:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access-w-o-shell-access/m-p/2553814#M886420</guid>
      <dc:creator>Chris Little_1</dc:creator>
      <dc:date>2001-07-17T14:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: ftp access w/o shell access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access-w-o-shell-access/m-p/2553815#M886421</link>
      <description>Hi Chris,&lt;BR /&gt;&lt;BR /&gt;If I understand your question, you are trying to set up anonymous ftp. Man ftpd and it takes you through all the steps required.</description>
      <pubDate>Tue, 17 Jul 2001 14:51:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access-w-o-shell-access/m-p/2553815#M886421</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-07-17T14:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: ftp access w/o shell access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access-w-o-shell-access/m-p/2553816#M886422</link>
      <description>no it's for a particular user who doesn't need shell access.</description>
      <pubDate>Tue, 17 Jul 2001 14:53:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access-w-o-shell-access/m-p/2553816#M886422</guid>
      <dc:creator>Chris Little_1</dc:creator>
      <dc:date>2001-07-17T14:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: ftp access w/o shell access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access-w-o-shell-access/m-p/2553817#M886423</link>
      <description>Hi Chris&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Setup a normal user with ftp access , and in the .profile of the user please enter exit in the end so that whenever he makes a normal login he will never be able to get in the system . Where as he can just do ftp.&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Tue, 17 Jul 2001 14:55:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access-w-o-shell-access/m-p/2553817#M886423</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2001-07-17T14:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: ftp access w/o shell access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access-w-o-shell-access/m-p/2553818#M886424</link>
      <description>Hi again, &lt;BR /&gt;&lt;BR /&gt;I understand now and Manoj is close but one problem is that the user can issue '!' command within ftp to get to a shell. You need to do something like this within your user's .profile&lt;BR /&gt;or have your .profile (if setting up for more than 1 user) call a script which does this:&lt;BR /&gt;&lt;BR /&gt;SHELL=/usr/bin/false&lt;BR /&gt;export SHELL&lt;BR /&gt;ftp&lt;BR /&gt;exit 0&lt;BR /&gt;&lt;BR /&gt;You also need to make the .profile owned by root and not writable by this user so that he can't change the .profile. This too isn't quite foolproof because You probably would like the user to be have write permission in his home directory for creating files. This would allow him to remove or replace his .profile. If he is not allowed write access in the home directory then you should be secure enough.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay</description>
      <pubDate>Tue, 17 Jul 2001 15:09:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access-w-o-shell-access/m-p/2553818#M886424</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-07-17T15:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: ftp access w/o shell access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access-w-o-shell-access/m-p/2553819#M886425</link>
      <description>You can do the following&lt;BR /&gt;1) vi /usr/bin/ftpshell&lt;BR /&gt;   type exit 0&lt;BR /&gt;   save file&lt;BR /&gt;2) modify the user's shell to be /usr/bin/ftpshell&lt;BR /&gt;    You can use usermod command or SAM&lt;BR /&gt;3) edit /etc/shells files and make sure it contains all shells that are used includes /usr/bin/ftpshell&lt;BR /&gt;4) Create a group ftponly or any other name&lt;BR /&gt;5) make the user a member of that group&lt;BR /&gt;6) edit /etc/ftpd/ftpaccess and check the group is specifed on the guestgroup line&lt;BR /&gt;7) Edit /etc/inetd.conf and modify ftp to look like this&lt;BR /&gt;ftp          stream tcp nowait root /usr/lbin/ftpd      ftpd -a -l &lt;BR /&gt;&lt;BR /&gt;Test the access&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;Haitham&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Jul 2001 15:10:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access-w-o-shell-access/m-p/2553819#M886425</guid>
      <dc:creator>Haitham Hamad</dc:creator>
      <dc:date>2001-07-17T15:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: ftp access w/o shell access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access-w-o-shell-access/m-p/2553820#M886426</link>
      <description>HI&lt;BR /&gt;On my system I have set a ftp user id with restricted shell "/usr/bin/rsh". This gives user login shell with restricted access. &lt;BR /&gt;If you don't want ftp user to get login shell use Manoj's suggestion of putting "exit" at end of .profile of that user.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Prashant.</description>
      <pubDate>Tue, 17 Jul 2001 15:12:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access-w-o-shell-access/m-p/2553820#M886426</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2001-07-17T15:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: ftp access w/o shell access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access-w-o-shell-access/m-p/2553821#M886427</link>
      <description>Hi Chris&lt;BR /&gt;&lt;BR /&gt;I again agree with Clay but you can always define rsh as the default shell , this would just restrict him to his home directory even in case he want to run ! in ftp session. Also this with exit in .profile should do the magic.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Tue, 17 Jul 2001 15:15:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access-w-o-shell-access/m-p/2553821#M886427</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2001-07-17T15:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: ftp access w/o shell access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access-w-o-shell-access/m-p/2553822#M886428</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I think creation of normal user and put exit as the last line of the .profile file of that user will solve ur problem.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Joe.</description>
      <pubDate>Tue, 17 Jul 2001 15:20:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access-w-o-shell-access/m-p/2553822#M886428</guid>
      <dc:creator>Joseph Chakkery</dc:creator>
      <dc:date>2001-07-17T15:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: ftp access w/o shell access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access-w-o-shell-access/m-p/2553823#M886429</link>
      <description>Why not just set the users shell in the password file to /usr/bin/false, make sure that /usr/bin/false is in /etc/shells and go from there.  That way the user can ftp to the machine, but they have no real shell so they have no shell access.</description>
      <pubDate>Tue, 17 Jul 2001 15:32:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access-w-o-shell-access/m-p/2553823#M886429</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-07-17T15:32:34Z</dc:date>
    </item>
  </channel>
</rss>

