<?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 Restrict user in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/restrict-user/m-p/3867281#M25308</link>
    <description>I want to control a user can only access a specific directory eg. /tmp and /home , and can't access the other directory even the general directory eg. /usr , /var , what can I do ? I tried ibsh , but this method allow user access HOME directory ONLY , if I want the user can access a list of specific directory , what can i do ? thx</description>
    <pubDate>Thu, 21 Sep 2006 10:04:30 GMT</pubDate>
    <dc:creator>hangyu</dc:creator>
    <dc:date>2006-09-21T10:04:30Z</dc:date>
    <item>
      <title>Restrict user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-user/m-p/3867281#M25308</link>
      <description>I want to control a user can only access a specific directory eg. /tmp and /home , and can't access the other directory even the general directory eg. /usr , /var , what can I do ? I tried ibsh , but this method allow user access HOME directory ONLY , if I want the user can access a list of specific directory , what can i do ? thx</description>
      <pubDate>Thu, 21 Sep 2006 10:04:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-user/m-p/3867281#M25308</guid>
      <dc:creator>hangyu</dc:creator>
      <dc:date>2006-09-21T10:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-user/m-p/3867282#M25309</link>
      <description>well it dependes how specific you would like to be...&lt;BR /&gt;&lt;BR /&gt;in general groups are OK, but it's not much scalable....&lt;BR /&gt;&lt;BR /&gt;Other possibility is SELinux which gives you more options to set roles of the user.&lt;BR /&gt;&lt;BR /&gt;Access-List are also good solution.&lt;BR /&gt;&lt;BR /&gt;But all of this is quitte "huge" to cover it in my respons so try to google a bit and select what is best way for you.</description>
      <pubDate>Thu, 21 Sep 2006 10:17:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-user/m-p/3867282#M25309</guid>
      <dc:creator>g33k</dc:creator>
      <dc:date>2006-09-21T10:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-user/m-p/3867283#M25310</link>
      <description>only read access with absolute path:-&lt;BR /&gt;&lt;BR /&gt;# adduser &lt;USER&gt;&lt;BR /&gt;# ln -s /bin/bash /bin/rbash&lt;BR /&gt;# chsh -s /bin/rbash luser&lt;BR /&gt;# cd /home/&lt;USER&gt;&lt;BR /&gt;#ln -s /tmp tmp&lt;BR /&gt;#ln -s /home home&lt;BR /&gt;#passwd &lt;USER&gt;&lt;BR /&gt;&lt;BR /&gt;Or change the user path and specify a separate bin directory. Put those command only you want to let him/her execute. Change the attribute of ~.bash_profile /~.bashrc as a root.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/USER&gt;&lt;/USER&gt;&lt;/USER&gt;</description>
      <pubDate>Thu, 21 Sep 2006 12:09:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-user/m-p/3867283#M25310</guid>
      <dc:creator>Jaydeb Chakraborty</dc:creator>
      <dc:date>2006-09-21T12:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restrict-user/m-p/3867284#M25311</link>
      <description>you have already posted this question in the HP-UX forum, please refer to that thread:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1061978" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1061978&lt;/A&gt;</description>
      <pubDate>Thu, 21 Sep 2006 12:41:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restrict-user/m-p/3867284#M25311</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2006-09-21T12:41:30Z</dc:date>
    </item>
  </channel>
</rss>

