<?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: User log as Root in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/user-log-as-root/m-p/4044460#M303499</link>
    <description>put console in securetty to block direct telnet login as root&lt;BR /&gt;&lt;BR /&gt;# echo console &amp;gt;&amp;gt; /etc/securetty&lt;BR /&gt;&lt;BR /&gt;and add a group to the security file&lt;BR /&gt;&lt;BR /&gt;in /etc/default/security&lt;BR /&gt;&lt;BR /&gt;SU_ROOT_GROUP=mygroup&lt;BR /&gt;&lt;BR /&gt;then the users who you want to su as root add them to mygroup, and they will be the only ones allowed to su as root&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 26 Jul 2007 11:46:34 GMT</pubDate>
    <dc:creator>Aussan</dc:creator>
    <dc:date>2007-07-26T11:46:34Z</dc:date>
    <item>
      <title>User log as Root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-log-as-root/m-p/4044457#M303496</link>
      <description>Hi all ,&lt;BR /&gt;I want to know and to register the users that log on a HP9000 HPUX system , &lt;BR /&gt;i have users that i don't want that they log as ROOT directly through telnet , i need them to log as their users and then do su - and log as root so i can identify them ,&lt;BR /&gt;so how can i block a user to log as root directly when promt to login , &lt;BR /&gt;note that all these connections are done through telnet or ssh ,</description>
      <pubDate>Thu, 26 Jul 2007 08:42:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-log-as-root/m-p/4044457#M303496</guid>
      <dc:creator>meekrob</dc:creator>
      <dc:date>2007-07-26T08:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: User log as Root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-log-as-root/m-p/4044458#M303497</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Simple answer, create the file /etc/securetty with the word console in it. Now root can only direct login from the console.&lt;BR /&gt;&lt;BR /&gt;# echo console &amp;gt; /etc/securetty&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 26 Jul 2007 09:16:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-log-as-root/m-p/4044458#M303497</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2007-07-26T09:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: User log as Root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-log-as-root/m-p/4044459#M303498</link>
      <description>The second solution is better: download and install the sudo package. That way, users can be given SOME root privileges and will never need to know the root password.</description>
      <pubDate>Thu, 26 Jul 2007 11:06:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-log-as-root/m-p/4044459#M303498</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-07-26T11:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: User log as Root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-log-as-root/m-p/4044460#M303499</link>
      <description>put console in securetty to block direct telnet login as root&lt;BR /&gt;&lt;BR /&gt;# echo console &amp;gt;&amp;gt; /etc/securetty&lt;BR /&gt;&lt;BR /&gt;and add a group to the security file&lt;BR /&gt;&lt;BR /&gt;in /etc/default/security&lt;BR /&gt;&lt;BR /&gt;SU_ROOT_GROUP=mygroup&lt;BR /&gt;&lt;BR /&gt;then the users who you want to su as root add them to mygroup, and they will be the only ones allowed to su as root&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Jul 2007 11:46:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-log-as-root/m-p/4044460#M303499</guid>
      <dc:creator>Aussan</dc:creator>
      <dc:date>2007-07-26T11:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: User log as Root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-log-as-root/m-p/4044461#M303500</link>
      <description>sshd uses the configuration directive "PermitRootLogin" in sshd_config for allowing or denying root logins via ssh. You need this in addition to /etc/securetty.&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Jul 2007 12:15:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-log-as-root/m-p/4044461#M303500</guid>
      <dc:creator>Heironimus</dc:creator>
      <dc:date>2007-07-26T12:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: User log as Root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-log-as-root/m-p/4044462#M303501</link>
      <description>Can u tell me abt this sudo package, from which site i can get it.&lt;BR /&gt;&lt;BR /&gt;thnx</description>
      <pubDate>Wed, 01 Aug 2007 09:18:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-log-as-root/m-p/4044462#M303501</guid>
      <dc:creator>Rahul Kumar Gupta</dc:creator>
      <dc:date>2007-08-01T09:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: User log as Root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-log-as-root/m-p/4044463#M303502</link>
      <description>Hi Rahul,&lt;BR /&gt;&lt;BR /&gt;Sudo is available for 11.11,11.23 and 11.31 from &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.8p12/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.8p12/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Wed, 01 Aug 2007 09:20:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-log-as-root/m-p/4044463#M303502</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2007-08-01T09:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: User log as Root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-log-as-root/m-p/4044464#M303503</link>
      <description>For root history, we add the following in .profile so that each admin has their own history file - kind of a mini audit as well:&lt;BR /&gt;&lt;BR /&gt;# Set up logging&lt;BR /&gt;HISTFILE=${HOME}/.sh_history_`who am i|awk '{ print $1}'`&lt;BR /&gt;date &amp;gt;&amp;gt;$HISTFILE&lt;BR /&gt;export HISTFILE&lt;BR /&gt;HISTSIZE=5000&lt;BR /&gt;export HISTSIZE&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Aug 2007 12:19:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-log-as-root/m-p/4044464#M303503</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-08-01T12:19:24Z</dc:date>
    </item>
  </channel>
</rss>

