<?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: SFTP with /usr/bin/false or /sbin/false in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801796#M266685</link>
    <description>Ivan,&lt;BR /&gt;&lt;BR /&gt;It works as it should, if you try to ftp to the server, with /usr/bin/false, you can ftp your data.&lt;BR /&gt;&lt;BR /&gt;This is what I get:&lt;BR /&gt;$ scp score_tool-hpux.sh hosta:&lt;BR /&gt;lost connection&lt;BR /&gt;$ ssh hosta&lt;BR /&gt;Last login: Wed Jun  7 19:07:07 2006 from hostb&lt;BR /&gt;Connection to acen51 closed.&lt;BR /&gt;&lt;BR /&gt;Darrel</description>
    <pubDate>Wed, 07 Jun 2006 12:10:42 GMT</pubDate>
    <dc:creator>Darrel Louis</dc:creator>
    <dc:date>2006-06-07T12:10:42Z</dc:date>
    <item>
      <title>SFTP with /usr/bin/false or /sbin/false</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801789#M266678</link>
      <description>Hi,&lt;BR /&gt;I configure SFTP with chroot jail, in the L2000 with 11.iv1&lt;BR /&gt;&lt;BR /&gt;I want to create an sftp user, i create user with /usr/bin/false as shell user. when i test the connection using sftp , it didn't work. if i change the shell, /bin/sh ie normale shell , it work. Just work with /bin/sh,&lt;BR /&gt;but i need to have a user who can do ftp only and the same user can't connected via login.&lt;BR /&gt;&lt;BR /&gt;Too configure the file /etc/shells, this file contain the next :&lt;BR /&gt;# more /etc/shells&lt;BR /&gt;/usr/bin/sh&lt;BR /&gt;/usr/bin/ksh&lt;BR /&gt;/usr/bin/csh&lt;BR /&gt;/sbin/sh&lt;BR /&gt;/usr/bin/false&lt;BR /&gt;/sbin/false&lt;BR /&gt;&lt;BR /&gt;In the inetd.conf configure the next line &lt;BR /&gt;ftp          stream tcp nowait root /usr/lbin/ftpd      ftpd -l -a 022&lt;BR /&gt;&lt;BR /&gt;The entry of the user in the passwd is this:&lt;BR /&gt;&lt;BR /&gt;appuser:V/ZjljOq236MU:121:20:Prueba usuario SFTP:/newroot/./home/appuser:/bin/fa&lt;BR /&gt;lse&lt;BR /&gt;&lt;BR /&gt;please can i have suggestion.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards</description>
      <pubDate>Wed, 07 Jun 2006 11:35:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801789#M266678</guid>
      <dc:creator>Ivan_86</dc:creator>
      <dc:date>2006-06-07T11:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP with /usr/bin/false or /sbin/false</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801790#M266679</link>
      <description>Be sure to add /usr/bin/false to /etc/shells&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;...jcd...</description>
      <pubDate>Wed, 07 Jun 2006 11:51:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801790#M266679</guid>
      <dc:creator>Joseph C. Denman</dc:creator>
      <dc:date>2006-06-07T11:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP with /usr/bin/false or /sbin/false</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801791#M266680</link>
      <description>Yes i be sure. &lt;BR /&gt;&lt;BR /&gt;# more /etc/shells&lt;BR /&gt;/usr/bin/sh&lt;BR /&gt;/usr/bin/ksh&lt;BR /&gt;/usr/bin/csh&lt;BR /&gt;/sbin/sh&lt;BR /&gt;/usr/bin/false&lt;BR /&gt;/sbin/false&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jun 2006 11:53:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801791#M266680</guid>
      <dc:creator>Ivan_86</dc:creator>
      <dc:date>2006-06-07T11:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP with /usr/bin/false or /sbin/false</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801792#M266681</link>
      <description>Looks like the entry in the passwd file is /bin/fa ????  I should be /usr/bin/false.&lt;BR /&gt;&lt;BR /&gt;...jcd...</description>
      <pubDate>Wed, 07 Jun 2006 11:54:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801792#M266681</guid>
      <dc:creator>Joseph C. Denman</dc:creator>
      <dc:date>2006-06-07T11:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP with /usr/bin/false or /sbin/false</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801793#M266682</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;FTP and SFTP are making use of two different protocols.&lt;BR /&gt;SFTP won't make use of /etc/ftpd/ftpaccess file.&lt;BR /&gt;Both should work, but we're making use of /usr/bin/false.&lt;BR /&gt;What are really using ftp or sftp?&lt;BR /&gt;&lt;BR /&gt;Darrel</description>
      <pubDate>Wed, 07 Jun 2006 11:54:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801793#M266682</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2006-06-07T11:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP with /usr/bin/false or /sbin/false</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801794#M266683</link>
      <description>Thanks for you respons&lt;BR /&gt;&lt;BR /&gt;Darrel, I use SFTP&lt;BR /&gt;&lt;BR /&gt;Joseph, the line is bad copy &lt;BR /&gt;appuser:V/ZjljOq236MU:121:20:Prueba usuario SFTP:/newroot/./home/appuser:/bin/false</description>
      <pubDate>Wed, 07 Jun 2006 11:58:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801794#M266683</guid>
      <dc:creator>Ivan_86</dc:creator>
      <dc:date>2006-06-07T11:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP with /usr/bin/false or /sbin/false</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801795#M266684</link>
      <description>You don't have /bin/false in /etc/shells.&lt;BR /&gt;&lt;BR /&gt;...jcd...</description>
      <pubDate>Wed, 07 Jun 2006 12:08:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801795#M266684</guid>
      <dc:creator>Joseph C. Denman</dc:creator>
      <dc:date>2006-06-07T12:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP with /usr/bin/false or /sbin/false</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801796#M266685</link>
      <description>Ivan,&lt;BR /&gt;&lt;BR /&gt;It works as it should, if you try to ftp to the server, with /usr/bin/false, you can ftp your data.&lt;BR /&gt;&lt;BR /&gt;This is what I get:&lt;BR /&gt;$ scp score_tool-hpux.sh hosta:&lt;BR /&gt;lost connection&lt;BR /&gt;$ ssh hosta&lt;BR /&gt;Last login: Wed Jun  7 19:07:07 2006 from hostb&lt;BR /&gt;Connection to acen51 closed.&lt;BR /&gt;&lt;BR /&gt;Darrel</description>
      <pubDate>Wed, 07 Jun 2006 12:10:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801796#M266685</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2006-06-07T12:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP with /usr/bin/false or /sbin/false</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801797#M266686</link>
      <description>&lt;BR /&gt;I add /bin/false in the /etc/shells&lt;BR /&gt;&lt;BR /&gt;# more /etc/shells&lt;BR /&gt;/usr/bin/sh&lt;BR /&gt;/usr/bin/ksh&lt;BR /&gt;/usr/bin/csh&lt;BR /&gt;/sbin/sh&lt;BR /&gt;/usr/bin/false&lt;BR /&gt;/sbin/false&lt;BR /&gt;/bin/false&lt;BR /&gt;&lt;BR /&gt;The user in the passwd is :&lt;BR /&gt;&lt;BR /&gt;appuser:V/ZjljOq236MU:121:20:Prueba usuario SFTP:/newroot/./home/appuser:/bin/false&lt;BR /&gt;&lt;BR /&gt;Whe i try connected show this :&lt;BR /&gt;&lt;BR /&gt;# sftp -oPort=9378 appuser@10.199.11.138&lt;BR /&gt;Connecting to 10.199.11.138...&lt;BR /&gt;Password: &lt;BR /&gt;Connection closed</description>
      <pubDate>Wed, 07 Jun 2006 12:51:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801797#M266686</guid>
      <dc:creator>Ivan_86</dc:creator>
      <dc:date>2006-06-07T12:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP with /usr/bin/false or /sbin/false</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801798#M266687</link>
      <description>Ivan,&lt;BR /&gt;&lt;BR /&gt;Try ftp &lt;SERVER-NAME&gt;&lt;BR /&gt;Check what the results are.&lt;BR /&gt;Sftp is using the same protocol/port as ssh.&lt;BR /&gt;&lt;BR /&gt;Darrel&lt;/SERVER-NAME&gt;</description>
      <pubDate>Wed, 07 Jun 2006 14:05:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801798#M266687</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2006-06-07T14:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP with /usr/bin/false or /sbin/false</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801799#M266688</link>
      <description>Hmmm....  Does sftp require a shell when logging in?????  As Darrell stated, try to FTP to the system and post your result.&lt;BR /&gt;&lt;BR /&gt;...jcd...</description>
      <pubDate>Thu, 08 Jun 2006 09:12:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-usr-bin-false-or-sbin-false/m-p/3801799#M266688</guid>
      <dc:creator>Joseph C. Denman</dc:creator>
      <dc:date>2006-06-08T09:12:07Z</dc:date>
    </item>
  </channel>
</rss>

