<?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: How to prevent su to root? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-prevent-su-to-root/m-p/3755985#M22362</link>
    <description>Nobody that does not know the root password wont be able to su to root using the su command. You can also restrict further by using pam_wheel.so module. Edit /etc/pam.d/su:&lt;BR /&gt;&lt;BR /&gt;auth       required     /lib/security/$ISA/pam_wheel.so use_uid      &lt;BR /&gt;&lt;BR /&gt;Only members of the wheel group will be able to use su.&lt;BR /&gt;&lt;BR /&gt;To avoid su to root using sudo, configure something like this:&lt;BR /&gt;&lt;BR /&gt;SUCMD = !/usr/bin/su*root*, /usr/bin/su</description>
    <pubDate>Tue, 21 Mar 2006 14:04:14 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2006-03-21T14:04:14Z</dc:date>
    <item>
      <title>How to prevent su to root?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-prevent-su-to-root/m-p/3755983#M22360</link>
      <description>I've installed sudo and sudoscripting on my RHEL AS3 implementation. I would now like to prevent everyone from su"ing" to the root user. I'd prefer that all use the "ss -u root" command as it will provide a much better audit trail. Can anyone point me in the direction of how I can prevent su to root. Thanks</description>
      <pubDate>Tue, 21 Mar 2006 13:06:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-prevent-su-to-root/m-p/3755983#M22360</guid>
      <dc:creator>joseph wholey</dc:creator>
      <dc:date>2006-03-21T13:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent su to root?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-prevent-su-to-root/m-p/3755984#M22361</link>
      <description>Edit the su file (vi /etc/pam.d/su) and add the following line to the top of the file: &lt;BR /&gt;auth required /lib/security/Pam_wheel.so group=wheel &lt;BR /&gt;&lt;BR /&gt;Which means only members of the "wheel" group can su to root. You can add the users to the group wheel so that only those users will be allowed to su as root. &lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Tue, 21 Mar 2006 14:03:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-prevent-su-to-root/m-p/3755984#M22361</guid>
      <dc:creator>Sergejs Svitnevs</dc:creator>
      <dc:date>2006-03-21T14:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent su to root?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-prevent-su-to-root/m-p/3755985#M22362</link>
      <description>Nobody that does not know the root password wont be able to su to root using the su command. You can also restrict further by using pam_wheel.so module. Edit /etc/pam.d/su:&lt;BR /&gt;&lt;BR /&gt;auth       required     /lib/security/$ISA/pam_wheel.so use_uid      &lt;BR /&gt;&lt;BR /&gt;Only members of the wheel group will be able to use su.&lt;BR /&gt;&lt;BR /&gt;To avoid su to root using sudo, configure something like this:&lt;BR /&gt;&lt;BR /&gt;SUCMD = !/usr/bin/su*root*, /usr/bin/su</description>
      <pubDate>Tue, 21 Mar 2006 14:04:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-prevent-su-to-root/m-p/3755985#M22362</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-03-21T14:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent su to root?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-prevent-su-to-root/m-p/3755986#M22363</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;The pam file above can be used to preven root from using su to other users without password authentication.&lt;BR /&gt;&lt;BR /&gt;That's the best you can do.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 21 Mar 2006 17:05:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-prevent-su-to-root/m-p/3755986#M22363</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-03-21T17:05:04Z</dc:date>
    </item>
  </channel>
</rss>

