<?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: Disable su - in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-su/m-p/3525442#M220581</link>
    <description>you can use sudo tool to restrict the usage of the su command.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 15 Apr 2005 01:24:08 GMT</pubDate>
    <dc:creator>T G Manikandan</dc:creator>
    <dc:date>2005-04-15T01:24:08Z</dc:date>
    <item>
      <title>Disable su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-su/m-p/3525436#M220575</link>
      <description>How to disable user from su to other account or root and what the file control the su ?</description>
      <pubDate>Thu, 14 Apr 2005 22:53:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-su/m-p/3525436#M220575</guid>
      <dc:creator>Macho_2</dc:creator>
      <dc:date>2005-04-14T22:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Disable su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-su/m-p/3525437#M220576</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Rename the command "su" or move it to a different directory.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Naveej</description>
      <pubDate>Thu, 14 Apr 2005 23:01:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-su/m-p/3525437#M220576</guid>
      <dc:creator>Naveej.K.A</dc:creator>
      <dc:date>2005-04-14T23:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Disable su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-su/m-p/3525438#M220577</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;See my reply in this thread. by this way you can stop users, doing su to root. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=854029" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=854029&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;To restrict "su" command from normal users move su binary to /usr/sbin from /usr/bin. &lt;BR /&gt;#mv /usr/bin/su /usr/sbin/&lt;BR /&gt;Hope this will work still I havent tested this method.Other option is renaming the binary.&lt;BR /&gt;&lt;BR /&gt;Naveej also mentioned the similar solution here.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Syam</description>
      <pubDate>Thu, 14 Apr 2005 23:23:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-su/m-p/3525438#M220577</guid>
      <dc:creator>Ranjith_5</dc:creator>
      <dc:date>2005-04-14T23:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Disable su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-su/m-p/3525439#M220578</link>
      <description>Renaming/moving/removing the binary just means that the user (if malicious) will either (1) copy it from another system or (2) get another copy from somewhere or (3) path to it explicitly. &lt;BR /&gt;&lt;BR /&gt;Do you want to lock down su to all users or only to the root user?&lt;BR /&gt;&lt;BR /&gt;What you need to consider is&lt;BR /&gt;&lt;BR /&gt;1) I want users to stop doing SU to root. &lt;BR /&gt;Easy: Look at /etc/default/security and set SU_ROOT_GROUP.&lt;BR /&gt;&lt;BR /&gt;2) To disourage use of SU set a policy and then check the /var/adm/sulog file.&lt;BR /&gt;&lt;BR /&gt;Else provide an idea of what is trying to be achieved and perhaps another way can be found.&lt;BR /&gt;&lt;BR /&gt;Example. I am user "ONE" and I wish to su to user "TWO". Locking down su just means I have to pop up another session and log in as user "TWO".</description>
      <pubDate>Thu, 14 Apr 2005 23:25:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-su/m-p/3525439#M220578</guid>
      <dc:creator>Ng Oon Tian</dc:creator>
      <dc:date>2005-04-14T23:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Disable su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-su/m-p/3525440#M220579</link>
      <description>Yes, The only possible way to disable su is wither to rename it or move it to a place which is not in the PATH.&lt;BR /&gt;&lt;BR /&gt;Rgds</description>
      <pubDate>Thu, 14 Apr 2005 23:27:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-su/m-p/3525440#M220579</guid>
      <dc:creator>Suraj Singh_1</dc:creator>
      <dc:date>2005-04-14T23:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Disable su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-su/m-p/3525441#M220580</link>
      <description>Well Ng, if a user is able to get su from another system he will need to already have root privliges.&lt;BR /&gt;CooLmaChO if a user ca su to root he has the root passord. If you remove su he can still log in as root and "have all the fun he wants". Unless you utilize securetty but then root will only be able to login from the console.&lt;BR /&gt;&lt;BR /&gt;Seems to me the solution is to protect the passwords.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Trond</description>
      <pubDate>Fri, 15 Apr 2005 01:13:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-su/m-p/3525441#M220580</guid>
      <dc:creator>Trond Haugen</dc:creator>
      <dc:date>2005-04-15T01:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Disable su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-su/m-p/3525442#M220581</link>
      <description>you can use sudo tool to restrict the usage of the su command.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Apr 2005 01:24:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-su/m-p/3525442#M220581</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2005-04-15T01:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Disable su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-su/m-p/3525443#M220582</link>
      <description>CooLmaChO,&lt;BR /&gt;As Trond said, if user can user su root, (s)he already&lt;BR /&gt;has the passwd. What you need is a strong password&lt;BR /&gt;policy.&lt;BR /&gt;&lt;BR /&gt;It's not really a good idea to hide/rename/move the&lt;BR /&gt;su binary. I would strongly advice against it.&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Apr 2005 01:34:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-su/m-p/3525443#M220582</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-04-15T01:34:41Z</dc:date>
    </item>
  </channel>
</rss>

