<?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: Allow login from Console only in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/allow-login-from-console-only/m-p/2486735#M760198</link>
    <description>Hi Juliana,&lt;BR /&gt;&lt;BR /&gt;Make sure your /etc/securetty has one single line.&lt;BR /&gt;&lt;BR /&gt;# echo console &amp;gt; /etc/securetty&lt;BR /&gt;# chown root:sys /etc/securetty&lt;BR /&gt;# chmod 644 /etc/securetty&lt;BR /&gt;&lt;BR /&gt;This should prevent root logins from all terminals but the system console&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
    <pubDate>Thu, 25 Jan 2001 16:38:50 GMT</pubDate>
    <dc:creator>Dan Hetzel</dc:creator>
    <dc:date>2001-01-25T16:38:50Z</dc:date>
    <item>
      <title>Allow login from Console only</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/allow-login-from-console-only/m-p/2486733#M760196</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;I followed the following instruction:&lt;BR /&gt;&lt;BR /&gt;# echo console &amp;gt;&amp;gt; /etc/securetty&lt;BR /&gt;# chmod 600 /etc/securetty&lt;BR /&gt;&lt;BR /&gt;I couldn't telnet as root but could login as a normal user and "su" as root, however, I am still able to login as root from other terminal.  What can I do to disable this?</description>
      <pubDate>Thu, 25 Jan 2001 16:33:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/allow-login-from-console-only/m-p/2486733#M760196</guid>
      <dc:creator>Juliana Lee</dc:creator>
      <dc:date>2001-01-25T16:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Allow login from Console only</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/allow-login-from-console-only/m-p/2486734#M760197</link>
      <description>Here is an ll of my /etc/securetty file:&lt;BR /&gt;&lt;BR /&gt;-r-sr-xr-x   1 root       sys              8 Mar 11  1996 /etc/securetty&lt;BR /&gt;&lt;BR /&gt;I don't know if this will make a difference or not, but it's worth a shot.</description>
      <pubDate>Thu, 25 Jan 2001 16:36:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/allow-login-from-console-only/m-p/2486734#M760197</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-01-25T16:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Allow login from Console only</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/allow-login-from-console-only/m-p/2486735#M760198</link>
      <description>Hi Juliana,&lt;BR /&gt;&lt;BR /&gt;Make sure your /etc/securetty has one single line.&lt;BR /&gt;&lt;BR /&gt;# echo console &amp;gt; /etc/securetty&lt;BR /&gt;# chown root:sys /etc/securetty&lt;BR /&gt;# chmod 644 /etc/securetty&lt;BR /&gt;&lt;BR /&gt;This should prevent root logins from all terminals but the system console&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Jan 2001 16:38:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/allow-login-from-console-only/m-p/2486735#M760198</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-01-25T16:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Allow login from Console only</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/allow-login-from-console-only/m-p/2486736#M760199</link>
      <description>Hi Patrick,&lt;BR /&gt;&lt;BR /&gt;I don't really understand the permissions of your /etc/securetty file.&lt;BR /&gt;It shouldn't be marked for execution and surely not SUID....&lt;BR /&gt;&lt;BR /&gt;On all servers we have here it's set to &lt;BR /&gt;-rw-r--r-- root sys ........&lt;BR /&gt;&lt;BR /&gt;All the best,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Jan 2001 17:41:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/allow-login-from-console-only/m-p/2486736#M760199</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-01-25T17:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Allow login from Console only</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/allow-login-from-console-only/m-p/2486737#M760200</link>
      <description>Thanks Guys, I did both of your suggestions&lt;BR /&gt;&lt;BR /&gt;# ll /etc/securetty&lt;BR /&gt;-r-Sr-xr-x   1 root       sys              8 Jan 25 10:49 /etc/securetty&lt;BR /&gt;# cat /etc/securetty&lt;BR /&gt;console&lt;BR /&gt;&lt;BR /&gt;# chmod 644 /etc/securetty&lt;BR /&gt;# ll /etc/securetty&lt;BR /&gt;-rw-r--r--   1 root       sys              8 Jan 25 10:49 /etc/securetty&lt;BR /&gt;&lt;BR /&gt;login and out again, I still can login as root.&lt;BR /&gt;I wonder if there is something to do with the dtterm!  It seems that the file is not being read.</description>
      <pubDate>Thu, 25 Jan 2001 19:11:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/allow-login-from-console-only/m-p/2486737#M760200</guid>
      <dc:creator>Juliana Lee</dc:creator>
      <dc:date>2001-01-25T19:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Allow login from Console only</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/allow-login-from-console-only/m-p/2486738#M760201</link>
      <description>Hi Juliana,&lt;BR /&gt;&lt;BR /&gt;Are you using OpenSSH ?&lt;BR /&gt;&lt;BR /&gt;In that case, set "PermitRootLogin no" in your sshd_config file and restart the SSH daemon.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Jan 2001 06:25:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/allow-login-from-console-only/m-p/2486738#M760201</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-01-26T06:25:44Z</dc:date>
    </item>
  </channel>
</rss>

