<?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: How to restrict a user from perform &amp;quot;cd&amp;quot; command on RedHat in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-restrict-a-user-from-perform-quot-cd-quot-command-on/m-p/3826582#M24253</link>
    <description>Good, please see also:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#28" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#28&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Take a little time to assign points to your questions, this is a good way to thank in the forum:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA640287&amp;amp;listType=question&amp;amp;forumId=1" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA640287&amp;amp;listType=question&amp;amp;forumId=1&lt;/A&gt;</description>
    <pubDate>Wed, 19 Jul 2006 11:32:24 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2006-07-19T11:32:24Z</dc:date>
    <item>
      <title>How to restrict a user from perform "cd" command on RedHat</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-restrict-a-user-from-perform-quot-cd-quot-command-on/m-p/3826579#M24250</link>
      <description>Customer is trying to restrict a determined user to move from the /home directory, if the bash -r line is added to the .bash_profile it works, however if the user types "exit" once, it returns to the normal bash shell with no restrictions,any suggestion?</description>
      <pubDate>Wed, 19 Jul 2006 10:06:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-restrict-a-user-from-perform-quot-cd-quot-command-on/m-p/3826579#M24250</guid>
      <dc:creator>Roberto Espinoza Sánche</dc:creator>
      <dc:date>2006-07-19T10:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict a user from perform "cd" command on RedHat</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-restrict-a-user-from-perform-quot-cd-quot-command-on/m-p/3826580#M24251</link>
      <description>Two options:&lt;BR /&gt;&lt;BR /&gt;1- Add an exit below the bash -r in the profile.&lt;BR /&gt;&lt;BR /&gt;bash -r&lt;BR /&gt;exit&lt;BR /&gt;&lt;BR /&gt;So, when the user type exit, exit is runned again. But this is not good if you put in the .bash_profile, because the users have control over this file and can be changed.&lt;BR /&gt;&lt;BR /&gt;2- Recommended&lt;BR /&gt;&lt;BR /&gt;Create a symbolic link to the bash file and name it rbash, configure the user to use this  file as shell:&lt;BR /&gt;&lt;BR /&gt;cd /etc/security&lt;BR /&gt;ln -s /bin/bash rbash&lt;BR /&gt;usermod -s /etc/security/rbash username</description>
      <pubDate>Wed, 19 Jul 2006 10:28:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-restrict-a-user-from-perform-quot-cd-quot-command-on/m-p/3826580#M24251</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-07-19T10:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict a user from perform "cd" command on RedHat</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-restrict-a-user-from-perform-quot-cd-quot-command-on/m-p/3826581#M24252</link>
      <description>It works !!! i tried both options and they  worked, thanks a lot for your help :-)&lt;BR /&gt;Regards.</description>
      <pubDate>Wed, 19 Jul 2006 11:02:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-restrict-a-user-from-perform-quot-cd-quot-command-on/m-p/3826581#M24252</guid>
      <dc:creator>Roberto Espinoza Sánche</dc:creator>
      <dc:date>2006-07-19T11:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict a user from perform "cd" command on RedHat</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-restrict-a-user-from-perform-quot-cd-quot-command-on/m-p/3826582#M24253</link>
      <description>Good, please see also:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#28" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#28&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Take a little time to assign points to your questions, this is a good way to thank in the forum:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA640287&amp;amp;listType=question&amp;amp;forumId=1" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA640287&amp;amp;listType=question&amp;amp;forumId=1&lt;/A&gt;</description>
      <pubDate>Wed, 19 Jul 2006 11:32:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-restrict-a-user-from-perform-quot-cd-quot-command-on/m-p/3826582#M24253</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-07-19T11:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict a user from perform "cd" command on RedHat</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-restrict-a-user-from-perform-quot-cd-quot-command-on/m-p/3826583#M24254</link>
      <description>Roberto,&lt;BR /&gt;&lt;BR /&gt;Please say thanks to Ivan with points.&lt;BR /&gt;&lt;BR /&gt;Please read this:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=140137" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=140137&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 19 Jul 2006 11:35:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-restrict-a-user-from-perform-quot-cd-quot-command-on/m-p/3826583#M24254</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-07-19T11:35:55Z</dc:date>
    </item>
  </channel>
</rss>

