<?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: Directly login deny in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/directly-login-deny/m-p/2785126#M78239</link>
    <description>This can't be done totally. But you can restrict the root direct login to specific ttys (for eg: console). For doing this, edit the /etc/securetty file and add the 'tty' entries there and the root login can only be done from there. But you can do a 'su' from all terminal sessions.</description>
    <pubDate>Tue, 13 Aug 2002 13:31:45 GMT</pubDate>
    <dc:creator>Sajid_1</dc:creator>
    <dc:date>2002-08-13T13:31:45Z</dc:date>
    <item>
      <title>Directly login deny</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directly-login-deny/m-p/2785120#M78233</link>
      <description>Hello guys,&lt;BR /&gt;I want thet the root user can't log directly on the system, but only whit su - root command.&lt;BR /&gt;&lt;BR /&gt;Please help me&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Aug 2002 13:22:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directly-login-deny/m-p/2785120#M78233</guid>
      <dc:creator>Manuel_8</dc:creator>
      <dc:date>2002-08-13T13:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Directly login deny</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directly-login-deny/m-p/2785121#M78234</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Create /etc/securetty file with "console" in &lt;BR /&gt;it. It will allow root to login from console only. Others have to login as themselves and then su to root.&lt;BR /&gt;&lt;BR /&gt;#cat /etc/securetty&lt;BR /&gt;console&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 13 Aug 2002 13:26:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directly-login-deny/m-p/2785121#M78234</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-08-13T13:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Directly login deny</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directly-login-deny/m-p/2785122#M78235</link>
      <description>Hi Manuel,&lt;BR /&gt;&lt;BR /&gt;Create the following file &lt;BR /&gt;/etc/securetty&lt;BR /&gt;containing only the word    &lt;BR /&gt;console&lt;BR /&gt;&lt;BR /&gt;This prevents root from logging in from anywhere except the console.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 13 Aug 2002 13:26:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directly-login-deny/m-p/2785122#M78235</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-08-13T13:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Directly login deny</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directly-login-deny/m-p/2785123#M78236</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;Just create a file /etc/securetty containing the line "console". See login(1) man page.&lt;BR /&gt;&lt;BR /&gt;Please note that not all services respect this feature! E.g. ftp needs to be denied for root also. Same for rexec. Otherwise one could e.g. use ftp as root to remove the /etc/securetty file.&lt;BR /&gt;&lt;BR /&gt;Regards...&lt;BR /&gt; Dietmar</description>
      <pubDate>Tue, 13 Aug 2002 13:27:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directly-login-deny/m-p/2785123#M78236</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2002-08-13T13:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Directly login deny</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directly-login-deny/m-p/2785124#M78237</link>
      <description>Hi Manuel:&lt;BR /&gt;&lt;BR /&gt;Create a file titled '/etc/securetty'.  When present, root is allowed to log in only on the devices listed in the file.  Enties are the device tty name, one per line.&lt;BR /&gt;&lt;BR /&gt;In your case, specify "console" so that root can login at the console device, but no where else unless an 'su' operation is performed to root.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 13 Aug 2002 13:27:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directly-login-deny/m-p/2785124#M78237</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-08-13T13:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Directly login deny</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directly-login-deny/m-p/2785125#M78238</link>
      <description>YOu can do this by creating the file /etc/securetty with the word &lt;BR /&gt;console&lt;BR /&gt;in it. The file should have permission 600 (root:bin). That will disable direct root login from any tty port EXCEPT at the console.</description>
      <pubDate>Tue, 13 Aug 2002 13:29:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directly-login-deny/m-p/2785125#M78238</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-08-13T13:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Directly login deny</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directly-login-deny/m-p/2785126#M78239</link>
      <description>This can't be done totally. But you can restrict the root direct login to specific ttys (for eg: console). For doing this, edit the /etc/securetty file and add the 'tty' entries there and the root login can only be done from there. But you can do a 'su' from all terminal sessions.</description>
      <pubDate>Tue, 13 Aug 2002 13:31:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directly-login-deny/m-p/2785126#M78239</guid>
      <dc:creator>Sajid_1</dc:creator>
      <dc:date>2002-08-13T13:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Directly login deny</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directly-login-deny/m-p/2785127#M78240</link>
      <description>If you wish to prevent root from logging in on the console too, rather than having console in /etc/securetty, you can just create a blank file.  Then root is only usable via su.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; /etc/securetty&lt;BR /&gt;&lt;BR /&gt;ll /etc/securetty&lt;BR /&gt;-r--r--r--   1 root       sys              0 Aug 13 15:31 /etc/securetty</description>
      <pubDate>Tue, 13 Aug 2002 13:31:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directly-login-deny/m-p/2785127#M78240</guid>
      <dc:creator>Chris Wilshaw</dc:creator>
      <dc:date>2002-08-13T13:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Directly login deny</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/directly-login-deny/m-p/2785128#M78241</link>
      <description>Manuel&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What we do is to add the following lines in the /etc/profile&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;loginid=`who am i | awk '{print $1}'`&lt;BR /&gt;&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;this will make you just su to root&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Tue, 13 Aug 2002 13:56:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/directly-login-deny/m-p/2785128#M78241</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-08-13T13:56:26Z</dc:date>
    </item>
  </channel>
</rss>

