<?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: Restricted shell on user in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-shell-on-user/m-p/3637471#M238616</link>
    <description>For instance, I have user test1 and his home directory is "/home/test1", but within his home directory exists a directory named "dir1", when I try to cd this directory (dir1) the system display error:&lt;BR /&gt;&lt;BR /&gt;rsh: cd: The operation is not allowed in a restricted shell.&lt;BR /&gt;&lt;BR /&gt;I know cd command is not allowed when using this shell, but is there a way so the user can access dir1?? dir1 was created with the following permissions:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;drwxr-xr-x   2 test1      users           96 Sep 28 14:17 dir1</description>
    <pubDate>Wed, 28 Sep 2005 16:05:35 GMT</pubDate>
    <dc:creator>Carlos Munoz Lopez</dc:creator>
    <dc:date>2005-09-28T16:05:35Z</dc:date>
    <item>
      <title>Restricted shell on user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-shell-on-user/m-p/3637469#M238614</link>
      <description>Hi guys.  I've been trying to restrict a user so he cannot change to other directory rather than his home directory.  I could see in different posts you adviced the use of rsh or rksh. I implemented restricted shell (rsh), but I would like to know if there's a way so the user can access directories created in his own home, and also can delete or create files within it. I would like some help on this.</description>
      <pubDate>Wed, 28 Sep 2005 15:33:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-shell-on-user/m-p/3637469#M238614</guid>
      <dc:creator>Carlos Munoz Lopez</dc:creator>
      <dc:date>2005-09-28T15:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted shell on user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-shell-on-user/m-p/3637470#M238615</link>
      <description>Hi Carlos ,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If directories created in that users home , without having write permission to the user , or user's group, it cannot be writable or can not be delete. Unix permission applies in that case.&lt;BR /&gt;&lt;BR /&gt;And for restricting user rsh can be use.&lt;BR /&gt;&lt;BR /&gt;check this link:&lt;BR /&gt;&lt;A href="http://newfdawg.com/SHP-RestShell.htm" target="_blank"&gt;http://newfdawg.com/SHP-RestShell.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Sep 2005 15:57:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-shell-on-user/m-p/3637470#M238615</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-09-28T15:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted shell on user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-shell-on-user/m-p/3637471#M238616</link>
      <description>For instance, I have user test1 and his home directory is "/home/test1", but within his home directory exists a directory named "dir1", when I try to cd this directory (dir1) the system display error:&lt;BR /&gt;&lt;BR /&gt;rsh: cd: The operation is not allowed in a restricted shell.&lt;BR /&gt;&lt;BR /&gt;I know cd command is not allowed when using this shell, but is there a way so the user can access dir1?? dir1 was created with the following permissions:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;drwxr-xr-x   2 test1      users           96 Sep 28 14:17 dir1</description>
      <pubDate>Wed, 28 Sep 2005 16:05:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-shell-on-user/m-p/3637471#M238616</guid>
      <dc:creator>Carlos Munoz Lopez</dc:creator>
      <dc:date>2005-09-28T16:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted shell on user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-shell-on-user/m-p/3637472#M238617</link>
      <description>Carlos ,&lt;BR /&gt;&lt;BR /&gt;Restricted shell rsh, will not allow cd.&lt;BR /&gt;&lt;BR /&gt;The actions of rsh are identical to those of sh, except that the following actions are  not allowed: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1. Changing directories. The cd command is deactivated. &lt;BR /&gt;&lt;BR /&gt;2. Specifying pathnames or command names containing a slash (/). &lt;BR /&gt;&lt;BR /&gt;3. Setting the value of the PATH or the SHELL variables. &lt;BR /&gt;&lt;BR /&gt;4. Redirecting output with the right-angle brackets (&amp;gt; and &amp;gt;&amp;gt;). &lt;BR /&gt;&lt;BR /&gt;You need to plan other way...&lt;BR /&gt;&lt;BR /&gt;cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Wed, 28 Sep 2005 16:26:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-shell-on-user/m-p/3637472#M238617</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-09-28T16:26:00Z</dc:date>
    </item>
  </channel>
</rss>

