<?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: disabling su ability to root in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-su-ability-to-root/m-p/4401481#M351633</link>
    <description>I really don't think this is possible, or particularly desireable. I would think it sufficient to restrict direct root login to the console as you have done, and controlling access to the root password. &lt;BR /&gt;As an additional measure, I suppose you could restrict use of su to a particular group (in etc/default/security file you would add SU_ROOT_GROUP=wheel) to prevent casual attempts at running it. &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 15 Apr 2009 22:09:08 GMT</pubDate>
    <dc:creator>Mark Fenton</dc:creator>
    <dc:date>2009-04-15T22:09:08Z</dc:date>
    <item>
      <title>disabling su ability to root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-su-ability-to-root/m-p/4401476#M351628</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;i have just recieved some findings from an audit, and i have to disable the ability to su - root from all users on the system, and the only way the users can run root commands is via sudo. I already have sudo installed and configured, but need to disable the su ability, has anyone got any hints and tips on how to do this. I have already set up the /etc/securetty file with console in it&lt;BR /&gt;&lt;BR /&gt;cheers in advance&lt;BR /&gt;&lt;BR /&gt;john</description>
      <pubDate>Wed, 15 Apr 2009 15:39:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-su-ability-to-root/m-p/4401476#M351628</guid>
      <dc:creator>JOHN TURNER_2</dc:creator>
      <dc:date>2009-04-15T15:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: disabling su ability to root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-su-ability-to-root/m-p/4401477#M351629</link>
      <description>If you are just talking about someone doing:&lt;BR /&gt;&lt;BR /&gt;$ su - root&lt;BR /&gt;&lt;BR /&gt;then they will not be successful if they do not know the root password.  Make sure no one except administrators knows the root password.&lt;BR /&gt;&lt;BR /&gt;If you are talking about someone doing:&lt;BR /&gt;&lt;BR /&gt;$ sudo su - root&lt;BR /&gt;&lt;BR /&gt;then you can add a line in your sudoers file to forbid this.&lt;BR /&gt;&lt;BR /&gt;Set up a CMND_ALIAS like:&lt;BR /&gt;&lt;BR /&gt;Cmnd_Alias NOSU=!/usr/bin/su root, !/usr/bin/su -, !/usr/bin/su - root&lt;BR /&gt;&lt;BR /&gt;Then just assign the NOSU cmnd_alias to your users.&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Apr 2009 16:02:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-su-ability-to-root/m-p/4401477#M351629</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-04-15T16:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: disabling su ability to root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-su-ability-to-root/m-p/4401478#M351630</link>
      <description>Check for /etc/security/user file that will should give you the answer&lt;BR /&gt;&lt;BR /&gt;You can disable su for anyone by just adding su=false.&lt;BR /&gt;&lt;BR /&gt;-uvk</description>
      <pubDate>Wed, 15 Apr 2009 16:25:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-su-ability-to-root/m-p/4401478#M351630</guid>
      <dc:creator>UVK</dc:creator>
      <dc:date>2009-04-15T16:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: disabling su ability to root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-su-ability-to-root/m-p/4401479#M351631</link>
      <description>&amp;gt; Check for /etc/security/user file that will should give you the answer&lt;BR /&gt; &lt;BR /&gt;I believe that this is an AIX feature. In HP-UX, a similar file is called /etc/default/security. The man page for security gives the options but none exist to defeat the su command.&lt;BR /&gt; &lt;BR /&gt;As mentioned, su will not do anything if the user does not have the password. You can also disable su completely by renaming the executable but this will likely break scripts that su to other users. Do not give out the root password.</description>
      <pubDate>Wed, 15 Apr 2009 17:25:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-su-ability-to-root/m-p/4401479#M351631</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2009-04-15T17:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: disabling su ability to root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-su-ability-to-root/m-p/4401480#M351632</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;If there is root password security, su - root need not be disabled.&lt;BR /&gt;&lt;BR /&gt;People will not be able to log in to root. After this, watch the logs, its a policy issue and the users trying to log onto root need to be dealt with. Its not an IT issue.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 15 Apr 2009 17:34:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-su-ability-to-root/m-p/4401480#M351632</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-04-15T17:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: disabling su ability to root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-su-ability-to-root/m-p/4401481#M351633</link>
      <description>I really don't think this is possible, or particularly desireable. I would think it sufficient to restrict direct root login to the console as you have done, and controlling access to the root password. &lt;BR /&gt;As an additional measure, I suppose you could restrict use of su to a particular group (in etc/default/security file you would add SU_ROOT_GROUP=wheel) to prevent casual attempts at running it. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Apr 2009 22:09:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-su-ability-to-root/m-p/4401481#M351633</guid>
      <dc:creator>Mark Fenton</dc:creator>
      <dc:date>2009-04-15T22:09:08Z</dc:date>
    </item>
  </channel>
</rss>

