<?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: New User ID Restriction in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082596#M738504</link>
    <description>sorry I did not understand your point.&lt;BR /&gt;Not able to create user.&lt;BR /&gt;You just create a new user and put its shell as ksh -r (r for restricted).&lt;BR /&gt;&lt;BR /&gt;And your user would be having restricted access.&lt;BR /&gt;"man ksh"&lt;BR /&gt;BR,&lt;BR /&gt;Kapil&lt;BR /&gt;</description>
    <pubDate>Tue, 04 Dec 2007 05:00:11 GMT</pubDate>
    <dc:creator>Kapil Jha</dc:creator>
    <dc:date>2007-12-04T05:00:11Z</dc:date>
    <item>
      <title>New User ID Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082592#M738500</link>
      <description>I have a task to create a new id that going to used by vendor. The ID profiles are:&lt;BR /&gt;1)The ID to be created is MUST be restricted sharing.&lt;BR /&gt;2)create for their own user account&lt;BR /&gt;3)unable to read/navigate/view other directories&lt;BR /&gt;4)unable to write to other directories&lt;BR /&gt;able to create their own directory&lt;BR /&gt;&lt;BR /&gt;Your cooperation is highly appreciated.&lt;BR /&gt;Thanks in advance&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Dec 2007 02:21:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082592#M738500</guid>
      <dc:creator>take2mir</dc:creator>
      <dc:date>2007-12-04T02:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: New User ID Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082593#M738501</link>
      <description>I think the requirements are very incomplete. What version of HP-UX are you using? A basic HP-UX system has only two user privileges, root and everyone else. You can control access by group and user level, but the term "other directories" is unclear.&lt;BR /&gt; &lt;BR /&gt;I think you are describing what is called a chroot jail which is best implemented with the restricted shell: rsh or rksh. NOTE: this is difficult to setup because the user will have no access to any directory above $HOME. That means no commands like vi, etc unless a copy is stored in the user's $HOME.&lt;BR /&gt; &lt;BR /&gt;You may have to create a user menu instead. The menu will then limit all commands and access.</description>
      <pubDate>Tue, 04 Dec 2007 03:52:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082593#M738501</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-12-04T03:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: New User ID Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082594#M738502</link>
      <description>For me also Restricted shell is the only good option.&lt;BR /&gt;Just search "restricted shell" in search &lt;BR /&gt;option of this forum.And you will get good information which may be useful to you.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=876162" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=876162&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1086048" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1086048&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=137882" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=137882&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Kapil</description>
      <pubDate>Tue, 04 Dec 2007 04:18:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082594#M738502</guid>
      <dc:creator>Kapil Jha</dc:creator>
      <dc:date>2007-12-04T04:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: New User ID Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082595#M738503</link>
      <description>I use HP-UX 11.11. I have tried to use rsh shell but it have limitation. I can not creat/add new user(correct me if i mistake).</description>
      <pubDate>Tue, 04 Dec 2007 04:45:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082595#M738503</guid>
      <dc:creator>take2mir</dc:creator>
      <dc:date>2007-12-04T04:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: New User ID Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082596#M738504</link>
      <description>sorry I did not understand your point.&lt;BR /&gt;Not able to create user.&lt;BR /&gt;You just create a new user and put its shell as ksh -r (r for restricted).&lt;BR /&gt;&lt;BR /&gt;And your user would be having restricted access.&lt;BR /&gt;"man ksh"&lt;BR /&gt;BR,&lt;BR /&gt;Kapil&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Dec 2007 05:00:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082596#M738504</guid>
      <dc:creator>Kapil Jha</dc:creator>
      <dc:date>2007-12-04T05:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: New User ID Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082597#M738505</link>
      <description>&amp;gt;Kapil: put its shell as ksh -r (r for restricted).&lt;BR /&gt;&lt;BR /&gt;That's put its shell as /usr/bin/rsh or /usr/bin/rksh.</description>
      <pubDate>Tue, 04 Dec 2007 05:06:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082597#M738505</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-12-04T05:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: New User ID Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082598#M738506</link>
      <description>Hi Dennis&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;That's put its shell as /usr/bin/rsh or /usr/bin/rksh.&lt;BR /&gt;&lt;BR /&gt;from man page of ksh I have&lt;BR /&gt;-r    If the -r option is present, the shell is a restricted shell&lt;BR /&gt; &lt;BR /&gt;rksh Only&lt;BR /&gt;rksh is used to set up login names and execution environments where capabilities are more controlled than those of the standard shell. The actions of rksh are identical to those of ksh, except that the following are forbidden:&lt;BR /&gt;&lt;BR /&gt;Are these thing are different???&lt;BR /&gt;Why ksh -r can put shell to /usr/bin/rsh (rsh is remote shell here like rloginn right or wrong).&lt;BR /&gt;&lt;BR /&gt;I just used restricted shell once with ksh -r option and it worked fine.&lt;BR /&gt;BR,&lt;BR /&gt;Kapil&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Dec 2007 05:21:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082598#M738506</guid>
      <dc:creator>Kapil Jha</dc:creator>
      <dc:date>2007-12-04T05:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: New User ID Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082599#M738507</link>
      <description>&amp;gt;Kapil: Are these thing are different???&lt;BR /&gt;Why ksh -r can put shell to /usr/bin/rsh&lt;BR /&gt;&lt;BR /&gt;For the passwd entry, you can only provide the path of the shell but no options.  So rsh or rksh is needed.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;(rsh is remote shell here like rlogin right or wrong).&lt;BR /&gt;&lt;BR /&gt;No, rsh is the restricted Posix shell.  remsh(1) is the remote shell.  (On HP-UX)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I just used restricted shell once with ksh -r option and it worked fine.&lt;BR /&gt;&lt;BR /&gt;Sure but you can't add -r to /etc/passwd.</description>
      <pubDate>Tue, 04 Dec 2007 05:40:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082599#M738507</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-12-04T05:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: New User ID Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082600#M738508</link>
      <description>Yeh I remember now....i added in .profile I suppose.&lt;BR /&gt;Thanks for the clarification!!!!!&lt;BR /&gt;BR,&lt;BR /&gt;Kapil</description>
      <pubDate>Tue, 04 Dec 2007 05:55:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082600#M738508</guid>
      <dc:creator>Kapil Jha</dc:creator>
      <dc:date>2007-12-04T05:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: New User ID Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082601#M738509</link>
      <description>Emm..i mean that, when i used rsh shell, i can not add new user. For example my login id now is ncps01, using rsh shell. Then i want to add new user, ncps02. When i try to execute command 'useradd -m ncps02', it can not work. &lt;BR /&gt;&lt;BR /&gt;Can both of you please give me the details step that should i take to make sure the new id that i created have the profile above?</description>
      <pubDate>Wed, 05 Dec 2007 01:48:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082601#M738509</guid>
      <dc:creator>take2mir</dc:creator>
      <dc:date>2007-12-05T01:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: New User ID Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082602#M738510</link>
      <description>&amp;gt;i mean that, when i used rsh shell, i can not add new user.&lt;BR /&gt;&lt;BR /&gt;I'm not sure I see the connection between you as root and the users you are adding?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;For example my login id now is ncps01, using rsh shell. Then i want to add new user, ncps02. When i try to execute command 'useradd -m ncps02', it can not work.&lt;BR /&gt;&lt;BR /&gt;You must be root to add more users and your shell must be /sbin/sh.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Can both of you please give me the details step that should i take to make sure the new id that i created have the profile above?&lt;BR /&gt;&lt;BR /&gt;I don't know if rsh will do all of the above but here is how to add it:&lt;BR /&gt;# useradd -m ncps02 -s /usr/bin/rsh</description>
      <pubDate>Wed, 05 Dec 2007 02:19:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082602#M738510</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-12-05T02:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: New User ID Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082603#M738511</link>
      <description>I have tried. After creating a new directory, the ID is unable to navigate the just created directory.</description>
      <pubDate>Wed, 05 Dec 2007 02:55:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082603#M738511</guid>
      <dc:creator>take2mir</dc:creator>
      <dc:date>2007-12-05T02:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: New User ID Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082604#M738512</link>
      <description>&amp;gt;After creating a new directory, the ID is unable to navigate the just created directory.&lt;BR /&gt;&lt;BR /&gt;Unfortunately rsh won't let the user change the directory.</description>
      <pubDate>Wed, 05 Dec 2007 04:59:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082604#M738512</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-12-05T04:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: New User ID Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082605#M738513</link>
      <description>Is there any other options?</description>
      <pubDate>Wed, 05 Dec 2007 06:13:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082605#M738513</guid>
      <dc:creator>take2mir</dc:creator>
      <dc:date>2007-12-05T06:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: New User ID Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082606#M738514</link>
      <description>I think you are limited to what Bill mentioned.&lt;BR /&gt;Unless you can use ACLs, getacl(1) &amp;amp; setacl(1).</description>
      <pubDate>Wed, 05 Dec 2007 06:32:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082606#M738514</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-12-05T06:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: New User ID Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082607#M738515</link>
      <description>&amp;gt;&amp;gt;&amp;gt;1)The ID to be created is MUST be restricted sharing.&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;2)create for their own user account&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;3)unable to read/navigate/view other directories&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;4)unable to write to other directories&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;u r not able to change directory i thinak thats what u want ur 3rd requirement.&lt;BR /&gt;It ful fill ur 4th requirement also.&lt;BR /&gt;BR,&lt;BR /&gt;Kapil</description>
      <pubDate>Wed, 05 Dec 2007 06:37:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082607#M738515</guid>
      <dc:creator>Kapil Jha</dc:creator>
      <dc:date>2007-12-05T06:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: New User ID Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082608#M738516</link>
      <description>Yup but not for his own created directory..</description>
      <pubDate>Wed, 05 Dec 2007 06:45:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082608#M738516</guid>
      <dc:creator>take2mir</dc:creator>
      <dc:date>2007-12-05T06:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: New User ID Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082609#M738517</link>
      <description>Thank you folks</description>
      <pubDate>Wed, 12 Dec 2007 09:16:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-user-id-restriction/m-p/5082609#M738517</guid>
      <dc:creator>take2mir</dc:creator>
      <dc:date>2007-12-12T09:16:43Z</dc:date>
    </item>
  </channel>
</rss>

