<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to restrict access with rbash</title>
	<atom:link href="http://blog.bodhizazen.net/linux/how-to-restrict-access-with-rbash/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bodhizazen.net/linux/how-to-restrict-access-with-rbash/</link>
	<description>A LAMP in the Samsara</description>
	<lastBuildDate>Tue, 31 Jan 2012 20:20:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: chenjie</title>
		<link>http://blog.bodhizazen.net/linux/how-to-restrict-access-with-rbash/comment-page-1/#comment-4647</link>
		<dc:creator>chenjie</dc:creator>
		<pubDate>Wed, 11 Jan 2012 05:05:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=14#comment-4647</guid>
		<description>thanks for the reply again.
i&#039;ve found the answer in bash manual.

btw,why you use this yinyang picture as your logo, it&#039;s called 太极八卦图 in our country.it&#039;s pretty weird :)</description>
		<content:encoded><![CDATA[<p>thanks for the reply again.<br />
i&#8217;ve found the answer in bash manual.</p>
<p>btw,why you use this yinyang picture as your logo, it&#8217;s called 太极八卦图 in our country.it&#8217;s pretty weird :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chenjie</title>
		<link>http://blog.bodhizazen.net/linux/how-to-restrict-access-with-rbash/comment-page-1/#comment-4644</link>
		<dc:creator>chenjie</dc:creator>
		<pubDate>Tue, 10 Jan 2012 10:37:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=14#comment-4644</guid>
		<description>i change the login shell  to bash,and it works,thanks a lot.
but i&#039;m confusing why it works since that rbash is just a symbol link to bash.</description>
		<content:encoded><![CDATA[<p>i change the login shell  to bash,and it works,thanks a lot.<br />
but i&#8217;m confusing why it works since that rbash is just a symbol link to bash.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bodhi.zazen</title>
		<link>http://blog.bodhizazen.net/linux/how-to-restrict-access-with-rbash/comment-page-1/#comment-4636</link>
		<dc:creator>bodhi.zazen</dc:creator>
		<pubDate>Mon, 09 Jan 2012 16:02:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=14#comment-4636</guid>
		<description>@chenjie - As indicated earlier, rbash is more or less obsolete, replaced by apparmor or selinux. Your problem is likely that you do not have sufficient access to various binaries, does it work if you change your shell to bash ?</description>
		<content:encoded><![CDATA[<p>@chenjie &#8211; As indicated earlier, rbash is more or less obsolete, replaced by apparmor or selinux. Your problem is likely that you do not have sufficient access to various binaries, does it work if you change your shell to bash ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chenjie</title>
		<link>http://blog.bodhizazen.net/linux/how-to-restrict-access-with-rbash/comment-page-1/#comment-4635</link>
		<dc:creator>chenjie</dc:creator>
		<pubDate>Mon, 09 Jan 2012 12:31:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=14#comment-4635</guid>
		<description>hi~thanks for your blog.
i have created a ruser followed by the steps,
i have met this issue.
i use windows client &quot;SSH Secure File Transfer&quot; with ruser, and ssh is  working fine. but sftp is not.
it pops up this error
&quot;File transfer server could not be started or it exited unexpectedly.
Exit value 0 was returned.&quot;
i have googled everywhere,it tells me do not output message in  .bashrc such as echo ,and my .bashrc is totally clear with nothing,but still not work~~~
hope you can help me.
thanks and regards ！
cj</description>
		<content:encoded><![CDATA[<p>hi~thanks for your blog.<br />
i have created a ruser followed by the steps,<br />
i have met this issue.<br />
i use windows client &#8220;SSH Secure File Transfer&#8221; with ruser, and ssh is  working fine. but sftp is not.<br />
it pops up this error<br />
&#8220;File transfer server could not be started or it exited unexpectedly.<br />
Exit value 0 was returned.&#8221;<br />
i have googled everywhere,it tells me do not output message in  .bashrc such as echo ,and my .bashrc is totally clear with nothing,but still not work~~~<br />
hope you can help me.<br />
thanks and regards ！<br />
cj</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bodhi.zazen</title>
		<link>http://blog.bodhizazen.net/linux/how-to-restrict-access-with-rbash/comment-page-1/#comment-4357</link>
		<dc:creator>bodhi.zazen</dc:creator>
		<pubDate>Wed, 19 Oct 2011 14:55:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=14#comment-4357</guid>
		<description>@sss: works fine on Debian (as you can see):

root@debian~# cat /etc/issue
Debian GNU/Linux 5.0 \n \l

root@debian~# rbash

debian:~# cd
rbash: cd: restricted

debian:~# cd /root
rbash: cd: restricted

debian:~# exit
exit

But:

rbash is easy to break out of, you really should use an alternate technology (selinux, apparmor, virtualization).

What problem did you have ?</description>
		<content:encoded><![CDATA[<p>@sss: works fine on Debian (as you can see):</p>
<p>root@debian~# cat /etc/issue<br />
Debian GNU/Linux 5.0 \n \l</p>
<p>root@debian~# rbash</p>
<p>debian:~# cd<br />
rbash: cd: restricted</p>
<p>debian:~# cd /root<br />
rbash: cd: restricted</p>
<p>debian:~# exit<br />
exit</p>
<p>But:</p>
<p>rbash is easy to break out of, you really should use an alternate technology (selinux, apparmor, virtualization).</p>
<p>What problem did you have ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sss</title>
		<link>http://blog.bodhizazen.net/linux/how-to-restrict-access-with-rbash/comment-page-1/#comment-4356</link>
		<dc:creator>sss</dc:creator>
		<pubDate>Wed, 19 Oct 2011 11:46:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=14#comment-4356</guid>
		<description>Nice write up, but won&#039;t work on Debian.... ;P</description>
		<content:encoded><![CDATA[<p>Nice write up, but won&#8217;t work on Debian&#8230;. ;P</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aaron</title>
		<link>http://blog.bodhizazen.net/linux/how-to-restrict-access-with-rbash/comment-page-1/#comment-3971</link>
		<dc:creator>aaron</dc:creator>
		<pubDate>Tue, 19 Jul 2011 00:17:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=14#comment-3971</guid>
		<description>great work. but still am not able to get the links (in /home/ruser/usr/bin) to work properly.. the $PATH is right and the links are also present in the directory.. but no luck if i try to run &quot;vim&quot; when i log in as ruser.. &quot;no command found&quot;</description>
		<content:encoded><![CDATA[<p>great work. but still am not able to get the links (in /home/ruser/usr/bin) to work properly.. the $PATH is right and the links are also present in the directory.. but no luck if i try to run &#8220;vim&#8221; when i log in as ruser.. &#8220;no command found&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shared SSH Sessions &#171; System admin made easy</title>
		<link>http://blog.bodhizazen.net/linux/how-to-restrict-access-with-rbash/comment-page-1/#comment-3908</link>
		<dc:creator>Shared SSH Sessions &#171; System admin made easy</dc:creator>
		<pubDate>Sat, 02 Jul 2011 13:55:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=14#comment-3908</guid>
		<description>[...] rather then rbash is that AppArmor is more robust. jdong was kind enough to post a comment on my rbash blog showing he was able to break out of rbash in 10 [...]</description>
		<content:encoded><![CDATA[<p>[...] rather then rbash is that AppArmor is more robust. jdong was kind enough to post a comment on my rbash blog showing he was able to break out of rbash in 10 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bodhi.zazen</title>
		<link>http://blog.bodhizazen.net/linux/how-to-restrict-access-with-rbash/comment-page-1/#comment-3259</link>
		<dc:creator>bodhi.zazen</dc:creator>
		<pubDate>Mon, 04 Apr 2011 14:51:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=14#comment-3259</guid>
		<description>Thank you for your review and comments.

ruser needs to be able to read ~/.ssh/authorized_keys , or you can move the key to an alternate location.

Honestly a restricted shell is depreciated, you should be using tools such as apparmor, selinux, or grsecurity as it is rather trivial to break out of rbash.</description>
		<content:encoded><![CDATA[<p>Thank you for your review and comments.</p>
<p>ruser needs to be able to read ~/.ssh/authorized_keys , or you can move the key to an alternate location.</p>
<p>Honestly a restricted shell is depreciated, you should be using tools such as apparmor, selinux, or grsecurity as it is rather trivial to break out of rbash.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yoho</title>
		<link>http://blog.bodhizazen.net/linux/how-to-restrict-access-with-rbash/comment-page-1/#comment-3258</link>
		<dc:creator>yoho</dc:creator>
		<pubDate>Mon, 04 Apr 2011 13:04:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=14#comment-3258</guid>
		<description>Also, if the home directory doesn&#039;t belong to ruser, I&#039;m not sure permissions are correct to enable public keys ssh authentication (using authorized_keys) : it sometimes check $home permissions (depending on the version).</description>
		<content:encoded><![CDATA[<p>Also, if the home directory doesn&#8217;t belong to ruser, I&#8217;m not sure permissions are correct to enable public keys ssh authentication (using authorized_keys) : it sometimes check $home permissions (depending on the version).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

