<?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 ROOT access in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716794#M62070</link>
    <description>Hi Joshua:&lt;BR /&gt;&lt;BR /&gt;For rlogin you need to check two files - /etc/hosts.equiv and $HOME/.rhosts. If you find any entries there, then remove it or comment it. That may solve the issue.&lt;BR /&gt;&lt;BR /&gt;# man rlogin for more details&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
    <pubDate>Fri, 03 May 2002 17:38:43 GMT</pubDate>
    <dc:creator>Helen French</dc:creator>
    <dc:date>2002-05-03T17:38:43Z</dc:date>
    <item>
      <title>Disabling ROOT access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716787#M62063</link>
      <description>I am trying to disable ROOT access via remotely.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Anyone know how??</description>
      <pubDate>Fri, 03 May 2002 17:12:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716787#M62063</guid>
      <dc:creator>Joshua Leckner_1</dc:creator>
      <dc:date>2002-05-03T17:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling ROOT access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716788#M62064</link>
      <description>Hi,&lt;BR /&gt;Just put following entry in /etc/securetty&lt;BR /&gt;&lt;BR /&gt;console&lt;BR /&gt;&lt;BR /&gt;You can not login as root in this machine directly by doing this. You can be super user only after doing "su".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;-pap</description>
      <pubDate>Fri, 03 May 2002 17:14:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716788#M62064</guid>
      <dc:creator>pap</dc:creator>
      <dc:date>2002-05-03T17:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling ROOT access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716789#M62065</link>
      <description>In the /etc/securetty file make an entry &lt;BR /&gt;&lt;BR /&gt; root.&lt;BR /&gt;&lt;BR /&gt;It should solve your problem.&lt;BR /&gt;&lt;BR /&gt;Sandip</description>
      <pubDate>Fri, 03 May 2002 17:17:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716789#M62065</guid>
      <dc:creator>Sandip Ghosh</dc:creator>
      <dc:date>2002-05-03T17:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling ROOT access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716790#M62066</link>
      <description>what is the difference between adding "root" or "console" ??&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 May 2002 17:19:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716790#M62066</guid>
      <dc:creator>Joshua Leckner_1</dc:creator>
      <dc:date>2002-05-03T17:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling ROOT access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716791#M62067</link>
      <description>You have to put console only.&lt;BR /&gt;&lt;BR /&gt;By putting entries of ttys like console tty01 tyy02 etc....&lt;BR /&gt;you can enabling access to root in those ttys.....for direct root access.&lt;BR /&gt;&lt;BR /&gt;I never used "root" to mention in /etc/securetty.&lt;BR /&gt;&lt;BR /&gt;-pap</description>
      <pubDate>Fri, 03 May 2002 17:22:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716791#M62067</guid>
      <dc:creator>pap</dc:creator>
      <dc:date>2002-05-03T17:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling ROOT access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716792#M62068</link>
      <description>Hi Joshua:&lt;BR /&gt;&lt;BR /&gt;It's console and not root ! The tty's listed in /etc/securetty will give secure login for root.&lt;BR /&gt;&lt;BR /&gt;For confirmation:&lt;BR /&gt;&lt;BR /&gt;# man login&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Fri, 03 May 2002 17:28:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716792#M62068</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-05-03T17:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling ROOT access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716793#M62069</link>
      <description>This still allows users to rlogin into this system with root.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is there a way to also disable that without disabling root??&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the host.equiv only has a "+" within it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 May 2002 17:35:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716793#M62069</guid>
      <dc:creator>Joshua Leckner_1</dc:creator>
      <dc:date>2002-05-03T17:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling ROOT access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716794#M62070</link>
      <description>Hi Joshua:&lt;BR /&gt;&lt;BR /&gt;For rlogin you need to check two files - /etc/hosts.equiv and $HOME/.rhosts. If you find any entries there, then remove it or comment it. That may solve the issue.&lt;BR /&gt;&lt;BR /&gt;# man rlogin for more details&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Fri, 03 May 2002 17:38:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716794#M62070</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-05-03T17:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling ROOT access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716795#M62071</link>
      <description>If you put "root" in the /etc/securetty file then nobody could enter as root directly, not even from console. everytime he has to go as su -.&lt;BR /&gt;&lt;BR /&gt;Instead if you put "console" then anybody can login as root from the console.&lt;BR /&gt;&lt;BR /&gt;Sandip&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 May 2002 17:51:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716795#M62071</guid>
      <dc:creator>Sandip Ghosh</dc:creator>
      <dc:date>2002-05-03T17:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling ROOT access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716796#M62072</link>
      <description>Hi Joshua,&lt;BR /&gt;&lt;BR /&gt;To disable rlogin to root, remove root's .rhosts file.&lt;BR /&gt;&lt;BR /&gt;/etc/securetty is not checked if .rhosts allows the user to rlogin as root without a password.  It is checked if a password is needed by rlogin.&lt;BR /&gt;&lt;BR /&gt;BTW, /etc/hosts.equiv does not apply for root.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Fri, 03 May 2002 17:54:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716796#M62072</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2002-05-03T17:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling ROOT access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716797#M62073</link>
      <description>Hi Joshua&lt;BR /&gt;&lt;BR /&gt;Do the following in /etc/profile &lt;BR /&gt;&lt;BR /&gt;loginid=`who am i | awk '{print $1}'`&lt;BR /&gt;&lt;BR /&gt;echo $loginid&lt;BR /&gt;if [ $loginid = root ]&lt;BR /&gt;then&lt;BR /&gt;exit&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This will just allow you to login as another user and then do a su.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Fri, 03 May 2002 18:00:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716797#M62073</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-05-03T18:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling ROOT access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716798#M62074</link>
      <description>Hi&lt;BR /&gt;I have following lines in .profile off root to block any direct logins/rlogins to root.&lt;BR /&gt;&lt;BR /&gt;------&lt;BR /&gt;## To set direct root login to console only ##&lt;BR /&gt;#&lt;BR /&gt;user=`logname`;&lt;BR /&gt;sulog="/var/adm/sulog"&lt;BR /&gt;TTY="`tty | cut -d/ -f3`"&lt;BR /&gt;date=`date "+%m/%d %H:%M"`&lt;BR /&gt;&lt;BR /&gt;if [ ${user} = "root" ]&lt;BR /&gt;then&lt;BR /&gt;    if [ ${TTY} != "console" ]&lt;BR /&gt;       then&lt;BR /&gt;           echo "&lt;ERR&gt; : root login allowed only through console..."&lt;BR /&gt;           echo "ERR ${date} - ${TTY} ${user}-root" &amp;gt;&amp;gt; ${sulog}&lt;BR /&gt;           exit&lt;BR /&gt;    fi&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;---------&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Prashant Deshpande.&lt;BR /&gt;&lt;/ERR&gt;</description>
      <pubDate>Fri, 03 May 2002 18:04:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-root-access/m-p/2716798#M62074</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2002-05-03T18:04:14Z</dc:date>
    </item>
  </channel>
</rss>

