<?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 su command restiction in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/su-command-restiction/m-p/4443480#M357640</link>
    <description>how to restict the specific user for using the su command. [e.g] the user name is cbeny..please let me know.. i have to perform in a server .. Thanks in advance .. points assured</description>
    <pubDate>Fri, 19 Jun 2009 18:18:38 GMT</pubDate>
    <dc:creator>gany59</dc:creator>
    <dc:date>2009-06-19T18:18:38Z</dc:date>
    <item>
      <title>su command restiction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-command-restiction/m-p/4443480#M357640</link>
      <description>how to restict the specific user for using the su command. [e.g] the user name is cbeny..please let me know.. i have to perform in a server .. Thanks in advance .. points assured</description>
      <pubDate>Fri, 19 Jun 2009 18:18:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-command-restiction/m-p/4443480#M357640</guid>
      <dc:creator>gany59</dc:creator>
      <dc:date>2009-06-19T18:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: su command restiction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-command-restiction/m-p/4443481#M357641</link>
      <description>if "cbeny" knows the password of the "target" user, you can't disable "su".&lt;BR /&gt;&lt;BR /&gt;you could place "cbeny" in a resticted shell, but that may be overkill for what you want to accomplish&lt;BR /&gt;&lt;BR /&gt;you could write a wrapper script for the std "su" that looks at who ran it before doing the real "su"&lt;BR /&gt;&lt;BR /&gt;you could use "sudo", or "PowerBroker"</description>
      <pubDate>Fri, 19 Jun 2009 18:56:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-command-restiction/m-p/4443481#M357641</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-06-19T18:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: su command restiction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-command-restiction/m-p/4443482#M357642</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;As OldSchool mentions, 'switch-user' or 'su' is password authenticated and a password will be posed everytime unless starting from root and going to a user account.  'root' is not authenticated with 'su', only user accounts are.&lt;BR /&gt;&lt;BR /&gt;If the issue is with 'su - root' from a user account then you can convert to a trusted system and live with those nusances, but I think popularity for trusted systems had really diminished since 10.20 and 11.00.&lt;BR /&gt;&lt;BR /&gt;You can also use the even less popular NIS Plus and get the same root restirctions.  But I have yet to find an HP-UX box using NIS Plus.  Its very unpopular.</description>
      <pubDate>Fri, 19 Jun 2009 19:10:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-command-restiction/m-p/4443482#M357642</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2009-06-19T19:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: su command restiction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-command-restiction/m-p/4443483#M357643</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Apart from the advice you already got from&lt;BR /&gt;others, here are other options:&lt;BR /&gt;&lt;BR /&gt;a) Set option SU_ROOT_GROUP in /etc/default/security and add user "cbeny" if&lt;BR /&gt;they are allowed to su(1) to "root".&lt;BR /&gt;&lt;BR /&gt;Or, if you do not want "cbeny" to be able to&lt;BR /&gt;su(1) to "root", then make them not be&lt;BR /&gt;part of Unix group as defined in SU_ROOT_GROUP.&lt;BR /&gt;&lt;BR /&gt;b) Change permissions on /usr/bin/su (normally 4555, owner root, group bin or&lt;BR /&gt;root), to a more restrictive, say 4550:&lt;BR /&gt;&lt;BR /&gt;-r-sr-x--- 1 root sugrp ... /usr/bin/su&lt;BR /&gt;&lt;BR /&gt;Then, create a sugrp in /etc/group. Add&lt;BR /&gt;the users that are allowed to run su(1) to&lt;BR /&gt;membership of the Unix group sugrp.&lt;BR /&gt;&lt;BR /&gt;c) Finally, think about using&lt;BR /&gt;Role Based Access Control.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Fri, 19 Jun 2009 22:43:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-command-restiction/m-p/4443483#M357643</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2009-06-19T22:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: su command restiction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-command-restiction/m-p/4443484#M357644</link>
      <description>&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1349273" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1349273&lt;/A&gt;</description>
      <pubDate>Sat, 20 Jun 2009 01:41:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-command-restiction/m-p/4443484#M357644</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2009-06-20T01:41:10Z</dc:date>
    </item>
  </channel>
</rss>

