<?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 How can start restricted bash from /etc/passwd in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-can-start-restricted-bash-from-etc-passwd/m-p/3874635#M25445</link>
    <description>Greetings all;&lt;BR /&gt;&lt;BR /&gt;Running redhat linux and would like to have a user run restricted bash (bash -r) when they login.  Trying to figure out how I can do this, have seen references to rbash but have not seen rbash for redhat linux.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your help!&lt;BR /&gt;&lt;BR /&gt;Norm</description>
    <pubDate>Wed, 04 Oct 2006 17:51:57 GMT</pubDate>
    <dc:creator>wvsa</dc:creator>
    <dc:date>2006-10-04T17:51:57Z</dc:date>
    <item>
      <title>How can start restricted bash from /etc/passwd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-start-restricted-bash-from-etc-passwd/m-p/3874635#M25445</link>
      <description>Greetings all;&lt;BR /&gt;&lt;BR /&gt;Running redhat linux and would like to have a user run restricted bash (bash -r) when they login.  Trying to figure out how I can do this, have seen references to rbash but have not seen rbash for redhat linux.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your help!&lt;BR /&gt;&lt;BR /&gt;Norm</description>
      <pubDate>Wed, 04 Oct 2006 17:51:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-start-restricted-bash-from-etc-passwd/m-p/3874635#M25445</guid>
      <dc:creator>wvsa</dc:creator>
      <dc:date>2006-10-04T17:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can start restricted bash from /etc/passwd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-start-restricted-bash-from-etc-passwd/m-p/3874636#M25446</link>
      <description>Shalom Norm,&lt;BR /&gt;&lt;BR /&gt;You can install rbash as a binary and if it works set it as a shell in /etc/shells and then use it in /etc/passwd as the shell&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 04 Oct 2006 20:09:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-start-restricted-bash-from-etc-passwd/m-p/3874636#M25446</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-10-04T20:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can start restricted bash from /etc/passwd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-start-restricted-bash-from-etc-passwd/m-p/3874637#M25447</link>
      <description>Hello Stephen;&lt;BR /&gt;&lt;BR /&gt;Where can I get rbash, could not find it via up2date, did not find it on the redhat site.  Thanks for your input.&lt;BR /&gt;&lt;BR /&gt;Norm&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Oct 2006 20:18:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-start-restricted-bash-from-etc-passwd/m-p/3874637#M25447</guid>
      <dc:creator>wvsa</dc:creator>
      <dc:date>2006-10-04T20:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can start restricted bash from /etc/passwd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-start-restricted-bash-from-etc-passwd/m-p/3874638#M25448</link>
      <description>Take a look at this FAQ from RH - &lt;A href="http://kbase.redhat.com/faq/FAQ_43_3940.shtm" target="_blank"&gt;http://kbase.redhat.com/faq/FAQ_43_3940.shtm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;cheers,&lt;BR /&gt;ivan</description>
      <pubDate>Thu, 05 Oct 2006 02:36:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-start-restricted-bash-from-etc-passwd/m-p/3874638#M25448</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2006-10-05T02:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: How can start restricted bash from /etc/passwd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-start-restricted-bash-from-etc-passwd/m-p/3874639#M25449</link>
      <description>IMHO,you don't need to install rbash:&lt;BR /&gt;&lt;BR /&gt;cp /bin/bash /bin/rbash&lt;BR /&gt;&lt;BR /&gt;and then edit /etc/passwd respectively (i.e. setting /bin/rbash as shell for certain account).</description>
      <pubDate>Thu, 05 Oct 2006 03:23:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-start-restricted-bash-from-etc-passwd/m-p/3874639#M25449</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2006-10-05T03:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: How can start restricted bash from /etc/passwd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-start-restricted-bash-from-etc-passwd/m-p/3874640#M25450</link>
      <description>In fact, there is no need to copy the bash to rbash, just create a symlink and set that shell in the passwd file:&lt;BR /&gt;&lt;BR /&gt;ln -s /bin/bash /bin/rbash</description>
      <pubDate>Thu, 05 Oct 2006 10:49:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-start-restricted-bash-from-etc-passwd/m-p/3874640#M25450</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-10-05T10:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can start restricted bash from /etc/passwd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-start-restricted-bash-from-etc-passwd/m-p/3874641#M25451</link>
      <description>Gentlemen;&lt;BR /&gt;&lt;BR /&gt;The link of /bin/bash to /bin/rbash worked!  That was exactly what I needed.&lt;BR /&gt;&lt;BR /&gt;Thanks so much.&lt;BR /&gt;&lt;BR /&gt;Norm&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Oct 2006 11:43:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-start-restricted-bash-from-etc-passwd/m-p/3874641#M25451</guid>
      <dc:creator>wvsa</dc:creator>
      <dc:date>2006-10-05T11:43:09Z</dc:date>
    </item>
  </channel>
</rss>

