<?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: block telnet for root only .. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661012#M48397</link>
    <description>Just a note abnout security and stability: multiple UID 0 users is a really bad idea. The alternate root user(s) will make a mistake sometime as an ordinary user. Root's capability is far too powerful to use as a casual login. If the user(s) leaves the company and you remove all the files owned by this user...goodbye computer.&lt;BR /&gt;&lt;BR /&gt;Instead, assign root privileges explcitly by usinge SAM -r (restricted SAM) or by getting a copy of sudo.</description>
    <pubDate>Fri, 08 Feb 2002 00:33:02 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2002-02-08T00:33:02Z</dc:date>
    <item>
      <title>block telnet for root only ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661001#M48386</link>
      <description>Hi ..&lt;BR /&gt;I am trying to block telnet for root only. But I have another user with an id of 0 that needs to be able to telnet. I did /etc/securetty but that blocks everything with the uid of 0. Is there another only the user name of root form telnet?&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Thu, 07 Feb 2002 21:51:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661001#M48386</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-02-07T21:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: block telnet for root only ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661002#M48387</link>
      <description>Hi Richard,&lt;BR /&gt;&lt;BR /&gt;You could try to set up a evaluation&lt;BR /&gt;of the user in the /etc/profile that&lt;BR /&gt;screens each user. &lt;BR /&gt;&lt;BR /&gt;-Michael</description>
      <pubDate>Thu, 07 Feb 2002 21:59:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661002#M48387</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-02-07T21:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: block telnet for root only ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661003#M48388</link>
      <description>Create a file called /etc/securetty and put the word 'console' (without the ' marks) in it and root will only be able to log in from the console. I don't think this will effect your other uid 0 user, but it might.  Try it and see what happens.&lt;BR /&gt;&lt;BR /&gt;# cat /etc/securetty&lt;BR /&gt;console&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Feb 2002 22:01:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661003#M48388</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-02-07T22:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: block telnet for root only ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661004#M48389</link>
      <description>I got this form another questoin on the forum but it was a bit too much.&lt;BR /&gt;&lt;BR /&gt;if [ $LOGNAME = 'badUser' ] &lt;BR /&gt;then &lt;BR /&gt;exit 1 &lt;BR /&gt;fi &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Thu, 07 Feb 2002 22:03:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661004#M48389</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-02-07T22:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: block telnet for root only ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661005#M48390</link>
      <description>hi&lt;BR /&gt;yes&lt;BR /&gt;/etc/securetty &lt;BR /&gt;blocks all uids of 0.&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Thu, 07 Feb 2002 22:04:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661005#M48390</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-02-07T22:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: block telnet for root only ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661006#M48391</link>
      <description>Use $LOGNAME to validate (if you want to go the /etc/profile route).</description>
      <pubDate>Thu, 07 Feb 2002 22:06:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661006#M48391</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-02-07T22:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: block telnet for root only ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661007#M48392</link>
      <description>Hi Richard,&lt;BR /&gt;&lt;BR /&gt;I should have thought of this before. I hope that this works.&lt;BR /&gt;&lt;BR /&gt;Create /etc/nologin &lt;BR /&gt;&lt;BR /&gt;Modify your /etc/profile with &lt;BR /&gt;&lt;BR /&gt;if [ -f /etc/nologin &amp;amp;&amp;amp; ${LOGNAME} != "root" ] &lt;BR /&gt;then &lt;BR /&gt;echo "Not allowed to login as UID 0" &lt;BR /&gt;exit 1 &lt;BR /&gt;fi &lt;BR /&gt;&lt;BR /&gt;This way you don't need to modify anything else on your system, if you want to get rid of it just remove the /etc/nologin file&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-Michael</description>
      <pubDate>Thu, 07 Feb 2002 22:11:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661007#M48392</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-02-07T22:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: block telnet for root only ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661008#M48393</link>
      <description>how can i let console login for root only?&lt;BR /&gt;&lt;BR /&gt;richard</description>
      <pubDate>Thu, 07 Feb 2002 23:08:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661008#M48393</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-02-07T23:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: block telnet for root only ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661009#M48394</link>
      <description>Hi Richard:&lt;BR /&gt;&lt;BR /&gt;Any account with a uid=0 *is* "root".  It would seem that your trying to close the barn door after the horses have gotten out!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 07 Feb 2002 23:20:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661009#M48394</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-02-07T23:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: block telnet for root only ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661010#M48395</link>
      <description>This may seem like a silly suggestion but, why not have the pserson with the other uid 0 id telnet in with a normal, ie non uid 0, id and then su to root?&lt;BR /&gt;&lt;BR /&gt;That way you can use securetty and still get access.</description>
      <pubDate>Thu, 07 Feb 2002 23:27:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661010#M48395</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-02-07T23:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: block telnet for root only ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661011#M48396</link>
      <description>Hi Richard,&lt;BR /&gt;&lt;BR /&gt;One further thing... Why not have everything&lt;BR /&gt;but the console still locked down with  /etc/securetty &lt;BR /&gt;and....set up sudo, so that you can control what user uses what. I'm not sure of the reasoning as to why you want a second account using the uid of 0. &lt;BR /&gt;&lt;BR /&gt;-Michael</description>
      <pubDate>Fri, 08 Feb 2002 00:25:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661011#M48396</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-02-08T00:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: block telnet for root only ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661012#M48397</link>
      <description>Just a note abnout security and stability: multiple UID 0 users is a really bad idea. The alternate root user(s) will make a mistake sometime as an ordinary user. Root's capability is far too powerful to use as a casual login. If the user(s) leaves the company and you remove all the files owned by this user...goodbye computer.&lt;BR /&gt;&lt;BR /&gt;Instead, assign root privileges explcitly by usinge SAM -r (restricted SAM) or by getting a copy of sudo.</description>
      <pubDate>Fri, 08 Feb 2002 00:33:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/block-telnet-for-root-only/m-p/2661012#M48397</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-02-08T00:33:02Z</dc:date>
    </item>
  </channel>
</rss>

