<?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: rbash is great but sftp doesn't work with it in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/rbash-is-great-but-sftp-doesn-t-work-with-it/m-p/3975241#M27679</link>
    <description>Neither ftp or sftp actually USES the shell, so using rbash will probably not do what you want either way (though some ftp servers offer that level of restriction).&lt;BR /&gt;&lt;BR /&gt;In a web hosting environment I can see no legitimate reason for people to have real shell access, so scponly or rssh may do what you need with a lot less work than a full do-it-yourself chroot setup.&lt;BR /&gt;&lt;BR /&gt;Another option is to just use another mechanism altogether, such as webdav or PUT over HTTPS. But either one probably requires a lot more work on your side.&lt;BR /&gt;</description>
    <pubDate>Wed, 04 Apr 2007 10:11:00 GMT</pubDate>
    <dc:creator>Heironimus</dc:creator>
    <dc:date>2007-04-04T10:11:00Z</dc:date>
    <item>
      <title>rbash is great but sftp doesn't work with it</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rbash-is-great-but-sftp-doesn-t-work-with-it/m-p/3975239#M27677</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;What a nightmare this is turning out to be. I'm amazed this is so difficult. We have a server hosting numerous virtual webservers and we need people to be able to upload information. I don't want them to use sftp for security reasons but clearly sftp does not work with rbash. I need rbash as I do not want them viewing other customers information. In otherwords I do not want them to be able to traverse directories. &lt;BR /&gt;&lt;BR /&gt;So what are my options. Its coming down to using standard ftp which is not ideal. Can anyone help. &lt;BR /&gt;&lt;BR /&gt;Adam</description>
      <pubDate>Wed, 04 Apr 2007 09:14:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rbash-is-great-but-sftp-doesn-t-work-with-it/m-p/3975239#M27677</guid>
      <dc:creator>Adam Noble</dc:creator>
      <dc:date>2007-04-04T09:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: rbash is great but sftp doesn't work with it</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rbash-is-great-but-sftp-doesn-t-work-with-it/m-p/3975240#M27678</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Use the shell, /bin/false or /sbin/nologin &lt;BR /&gt;&lt;BR /&gt;This blocks login completely from the command line.&lt;BR /&gt;&lt;BR /&gt;It is possible to acheive other results by chrooting sftp.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.linuxforums.org/forum/linux-security/3215-chroot-openssh.html" target="_blank"&gt;http://www.linuxforums.org/forum/linux-security/3215-chroot-openssh.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.linuxforums.org/forum/linux-security/3215-chroot-openssh-2.html" target="_blank"&gt;http://www.linuxforums.org/forum/linux-security/3215-chroot-openssh-2.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://archives.neohapsis.com/archives/sf/linux/2001-q4/0189.html" target="_blank"&gt;http://archives.neohapsis.com/archives/sf/linux/2001-q4/0189.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 04 Apr 2007 09:45:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rbash-is-great-but-sftp-doesn-t-work-with-it/m-p/3975240#M27678</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-04-04T09:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: rbash is great but sftp doesn't work with it</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rbash-is-great-but-sftp-doesn-t-work-with-it/m-p/3975241#M27679</link>
      <description>Neither ftp or sftp actually USES the shell, so using rbash will probably not do what you want either way (though some ftp servers offer that level of restriction).&lt;BR /&gt;&lt;BR /&gt;In a web hosting environment I can see no legitimate reason for people to have real shell access, so scponly or rssh may do what you need with a lot less work than a full do-it-yourself chroot setup.&lt;BR /&gt;&lt;BR /&gt;Another option is to just use another mechanism altogether, such as webdav or PUT over HTTPS. But either one probably requires a lot more work on your side.&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Apr 2007 10:11:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rbash-is-great-but-sftp-doesn-t-work-with-it/m-p/3975241#M27679</guid>
      <dc:creator>Heironimus</dc:creator>
      <dc:date>2007-04-04T10:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: rbash is great but sftp doesn't work with it</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rbash-is-great-but-sftp-doesn-t-work-with-it/m-p/3975242#M27680</link>
      <description>just install vsftpd. in the conf file setup the chroot option to chroot users to their home directory. Also turn off the anonymouns logins. set the users shell to /sbin/nologin. then they can ftp and will be confined to their home directory. Also, they cannot login via ssh, etc.</description>
      <pubDate>Wed, 04 Apr 2007 11:47:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rbash-is-great-but-sftp-doesn-t-work-with-it/m-p/3975242#M27680</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-04-04T11:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: rbash is great but sftp doesn't work with it</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rbash-is-great-but-sftp-doesn-t-work-with-it/m-p/3975243#M27681</link>
      <description>also if the connection needs to be secure you can setup vsftpd up with a certificate. Here is a nice howto:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.vpslink.com/index.php?title=Configuring_vsftpd_for_secure_connections_(TLS/SSL/SFTP)" target="_blank"&gt;http://wiki.vpslink.com/index.php?title=Configuring_vsftpd_for_secure_connections_(TLS/SSL/SFTP)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Apr 2007 11:49:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rbash-is-great-but-sftp-doesn-t-work-with-it/m-p/3975243#M27681</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-04-04T11:49:35Z</dc:date>
    </item>
  </channel>
</rss>

