<?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 prevent root login in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/prevent-root-login/m-p/2423700#M522</link>
    <description>I'd like to prevent root login, but only from particular locations - my dialup modem and telnets from internet.&lt;BR /&gt;&lt;BR /&gt;securetty (man login) provides for a list of terms where root -can- login, but I'm looking more for an exclude list.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
    <pubDate>Tue, 23 May 2000 14:58:58 GMT</pubDate>
    <dc:creator>Fred Martin_1</dc:creator>
    <dc:date>2000-05-23T14:58:58Z</dc:date>
    <item>
      <title>prevent root login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/prevent-root-login/m-p/2423700#M522</link>
      <description>I'd like to prevent root login, but only from particular locations - my dialup modem and telnets from internet.&lt;BR /&gt;&lt;BR /&gt;securetty (man login) provides for a list of terms where root -can- login, but I'm looking more for an exclude list.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Tue, 23 May 2000 14:58:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/prevent-root-login/m-p/2423700#M522</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2000-05-23T14:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: prevent root login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/prevent-root-login/m-p/2423701#M523</link>
      <description>If you create an empty /etc/securetty file, then you exclude direct root login even from hte console.&lt;BR /&gt;You can then login as your own uid, and do su - to get root priveleges.&lt;BR /&gt;If you want to ensure the console has root access, then have the only entry as console.&lt;BR /&gt;&lt;BR /&gt;This excludes every other method.&lt;BR /&gt;</description>
      <pubDate>Tue, 23 May 2000 15:05:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/prevent-root-login/m-p/2423701#M523</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2000-05-23T15:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: prevent root login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/prevent-root-login/m-p/2423702#M524</link>
      <description>Create a /etc/securetty file and enter in which devices you want to lock out</description>
      <pubDate>Tue, 23 May 2000 19:03:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/prevent-root-login/m-p/2423702#M524</guid>
      <dc:creator>Dennis Trice</dc:creator>
      <dc:date>2000-05-23T19:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: prevent root login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/prevent-root-login/m-p/2423703#M525</link>
      <description>Look into /var/adm/inetd.sec.  This will allow you to limit access to certain IP range. I think this will fix your internet telnet problem.&lt;BR /&gt;&lt;BR /&gt;Additional, to exclude the root on the dialup modem, I would suggest you add in the /etc/profile script to terminate the telnet session if it is coming from a certain tty port. Make sure that you have the trap statement as your very first command line in the /etc/profile to trap for the break signal.</description>
      <pubDate>Wed, 31 May 2000 18:10:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/prevent-root-login/m-p/2423703#M525</guid>
      <dc:creator>William Dy</dc:creator>
      <dc:date>2000-05-31T18:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: prevent root login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/prevent-root-login/m-p/2423704#M526</link>
      <description>One problem I discovered with using /etc/profile ... I added a test to see if the user was root, and if the tty was the modem, then to logout the user if that was the case.  Problem there is, if a normal user logs in on the modem tty, then su's to root (su -) the user gets logged out.  Not what I wanted.&lt;BR /&gt;&lt;BR /&gt;Using /etc/securetty with one line (console) turned out to be the best solution.  The admins here never log in as root directly anyway - we always su from our normal accounts.&lt;BR /&gt;&lt;BR /&gt;My main concern was disallowing root logins via internet telnet and the modem, and that certainly solved it.&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Jun 2000 17:32:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/prevent-root-login/m-p/2423704#M526</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2000-06-13T17:32:46Z</dc:date>
    </item>
  </channel>
</rss>

