<?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: Disallow any login to the system in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disallow-any-login-to-the-system/m-p/2576097#M858425</link>
    <description>You can do one thing.&lt;BR /&gt;&lt;BR /&gt;cp /var/adm/inetd.sec /var/adm/inetd.sec.old&lt;BR /&gt;Edit your /var/adm/inetd.sec and&lt;BR /&gt;add these lines&lt;BR /&gt;&lt;BR /&gt;telnet deny #For telnet&lt;BR /&gt;telnet allow your_system_IP SW-DEPOT-IP&lt;BR /&gt;login deny #For rlogin&lt;BR /&gt;&lt;BR /&gt;ftp deny&lt;BR /&gt;&lt;BR /&gt;Restart inetd by inetd -c&lt;BR /&gt;&lt;BR /&gt;Now people cannot ftp or login to your box&lt;BR /&gt;&lt;BR /&gt;Once you are done. Restore the previous inetd.sec and restart ined.&lt;BR /&gt;&lt;BR /&gt;The other way is little bit dangerous.&lt;BR /&gt;&lt;BR /&gt;Save /etc/passwd as /etc/passwd.old. Edit /etc/passwd and delete all the entries other than the default ones. Edit a file called /etc/banner that says "This system is under maitenance .. Your account is temporarly disabled" and modify the inetd.conf file to &lt;BR /&gt;replace telnetd with telned -b /etc/banner. Restart the inetd.&lt;BR /&gt;&lt;BR /&gt;Once you are done with the installation, keep the password file back. One drawback is that it will unnecessarily register bad attempts in the system.&lt;BR /&gt;&lt;BR /&gt;There are a lot many ways.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Thu, 06 Sep 2001 06:08:16 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2001-09-06T06:08:16Z</dc:date>
    <item>
      <title>Disallow any login to the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disallow-any-login-to-the-system/m-p/2576094#M858422</link>
      <description>I am suppose to instrall patches on our production system. What could be the best approach so that none can login to the system as I can't be in sigle use mode?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Nisar&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Sep 2001 05:30:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disallow-any-login-to-the-system/m-p/2576094#M858422</guid>
      <dc:creator>Nisar Ahmad</dc:creator>
      <dc:date>2001-09-06T05:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Disallow any login to the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disallow-any-login-to-the-system/m-p/2576095#M858423</link>
      <description>If you are in single usewr mode nobody can connect to the system because the network processes are down. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Federico</description>
      <pubDate>Thu, 06 Sep 2001 05:46:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disallow-any-login-to-the-system/m-p/2576095#M858423</guid>
      <dc:creator>federico_3</dc:creator>
      <dc:date>2001-09-06T05:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Disallow any login to the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disallow-any-login-to-the-system/m-p/2576096#M858424</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;ftp, login, rlogin,... and a lot of deamons are&lt;BR /&gt;launched by inetd. So I think you can stop&lt;BR /&gt;inetd : /sbin/init.d/inetd stop.&lt;BR /&gt;Or you can modify /var/adm/inetd.sec.&lt;BR /&gt;&lt;BR /&gt;If you want to disallow others services you can&lt;BR /&gt;stop them...&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Herv?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Sep 2001 05:47:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disallow-any-login-to-the-system/m-p/2576096#M858424</guid>
      <dc:creator>Herve BRANGIER</dc:creator>
      <dc:date>2001-09-06T05:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Disallow any login to the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disallow-any-login-to-the-system/m-p/2576097#M858425</link>
      <description>You can do one thing.&lt;BR /&gt;&lt;BR /&gt;cp /var/adm/inetd.sec /var/adm/inetd.sec.old&lt;BR /&gt;Edit your /var/adm/inetd.sec and&lt;BR /&gt;add these lines&lt;BR /&gt;&lt;BR /&gt;telnet deny #For telnet&lt;BR /&gt;telnet allow your_system_IP SW-DEPOT-IP&lt;BR /&gt;login deny #For rlogin&lt;BR /&gt;&lt;BR /&gt;ftp deny&lt;BR /&gt;&lt;BR /&gt;Restart inetd by inetd -c&lt;BR /&gt;&lt;BR /&gt;Now people cannot ftp or login to your box&lt;BR /&gt;&lt;BR /&gt;Once you are done. Restore the previous inetd.sec and restart ined.&lt;BR /&gt;&lt;BR /&gt;The other way is little bit dangerous.&lt;BR /&gt;&lt;BR /&gt;Save /etc/passwd as /etc/passwd.old. Edit /etc/passwd and delete all the entries other than the default ones. Edit a file called /etc/banner that says "This system is under maitenance .. Your account is temporarly disabled" and modify the inetd.conf file to &lt;BR /&gt;replace telnetd with telned -b /etc/banner. Restart the inetd.&lt;BR /&gt;&lt;BR /&gt;Once you are done with the installation, keep the password file back. One drawback is that it will unnecessarily register bad attempts in the system.&lt;BR /&gt;&lt;BR /&gt;There are a lot many ways.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 06 Sep 2001 06:08:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disallow-any-login-to-the-system/m-p/2576097#M858425</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-09-06T06:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Disallow any login to the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disallow-any-login-to-the-system/m-p/2576098#M858426</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I suppose that you cannot install patches in single user mode because of special installation instruction suggestions. Very simple way to reject any logins is to check username in /.profile and f it is not root ten exit.&lt;BR /&gt;&lt;BR /&gt;Later,</description>
      <pubDate>Thu, 06 Sep 2001 06:53:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disallow-any-login-to-the-system/m-p/2576098#M858426</guid>
      <dc:creator>Marcin Wicinski</dc:creator>
      <dc:date>2001-09-06T06:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Disallow any login to the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disallow-any-login-to-the-system/m-p/2576099#M858427</link>
      <description>Hi Nisar,&lt;BR /&gt;&lt;BR /&gt;It depends on what kinda patch are u going to install. but its not required for you to go into single user mode, you can stop the inetd services which contains rlogin,login,ftp and other network services.&lt;BR /&gt;&lt;BR /&gt;issue this commnand to stop/start inetd services :&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/inetd stop&lt;BR /&gt;&lt;BR /&gt;after you finsh patching your system issue&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/inetd start command&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Dayanand Naik&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Sep 2001 11:40:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disallow-any-login-to-the-system/m-p/2576099#M858427</guid>
      <dc:creator>Dayanand Naik</dc:creator>
      <dc:date>2001-09-06T11:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Disallow any login to the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disallow-any-login-to-the-system/m-p/2576100#M858428</link>
      <description>Another way:&lt;BR /&gt;&lt;BR /&gt;1) Copy your /etc/passwd to /etc/passwd.old&lt;BR /&gt;2) Write * in password field for every user&lt;BR /&gt;3) Install patches&lt;BR /&gt;4) Remove /etc/passwd&lt;BR /&gt;5) Rename old /etc/passwd&lt;BR /&gt;&lt;BR /&gt;It's not very original but it may work.&lt;BR /&gt;&lt;BR /&gt;ALex.</description>
      <pubDate>Thu, 06 Sep 2001 11:44:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disallow-any-login-to-the-system/m-p/2576100#M858428</guid>
      <dc:creator>Alex_17</dc:creator>
      <dc:date>2001-09-06T11:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Disallow any login to the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disallow-any-login-to-the-system/m-p/2576101#M858429</link>
      <description>Hi Nisar,&lt;BR /&gt;&lt;BR /&gt;Here is a very simple way&lt;BR /&gt;&lt;BR /&gt;touch /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 "System is not available right now"&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, after installing the patches, just remove the /etc/nologin file&lt;BR /&gt;&lt;BR /&gt;-HTH&lt;BR /&gt;Ramesh</description>
      <pubDate>Thu, 06 Sep 2001 11:53:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disallow-any-login-to-the-system/m-p/2576101#M858429</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-09-06T11:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Disallow any login to the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disallow-any-login-to-the-system/m-p/2576102#M858430</link>
      <description>Hi,&lt;BR /&gt;the system patches such as kernel,network when they applied system needs to reboot, application patches such as PHCO* can be applied in multiuser user mode and no need to reboot the machine. your case of disallowing users to login and applying patches in single user mode is unnecessary.</description>
      <pubDate>Thu, 06 Sep 2001 11:56:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disallow-any-login-to-the-system/m-p/2576102#M858430</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2001-09-06T11:56:55Z</dc:date>
    </item>
  </channel>
</rss>

