<?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: how root deny in web server ? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-root-deny-in-web-server/m-p/4147577#M31669</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;1) You can disable the root account in /etc/passwd Thats going to make it pretty hard to administer the machine.&lt;BR /&gt;&lt;BR /&gt;I would suggest setting up ssh to only accept root access based on pre-placed public keys.&lt;BR /&gt;&lt;BR /&gt;/etc/ssh/sshd_config&lt;BR /&gt;&lt;BR /&gt;#PermitRootLogin no&lt;BR /&gt;PermitRootLogin without-password&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Wed, 20 Feb 2008 08:58:24 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2008-02-20T08:58:24Z</dc:date>
    <item>
      <title>how root deny in web server ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-root-deny-in-web-server/m-p/4147576#M31668</link>
      <description>HI all,&lt;BR /&gt;&lt;BR /&gt;1) how can deny root for access web server?&lt;BR /&gt;2) how can use grep to /var/log/maillog which is generated in between 2.00PM to 3.00PM?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;MKS</description>
      <pubDate>Wed, 20 Feb 2008 06:52:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-root-deny-in-web-server/m-p/4147576#M31668</guid>
      <dc:creator>monu_1</dc:creator>
      <dc:date>2008-02-20T06:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: how root deny in web server ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-root-deny-in-web-server/m-p/4147577#M31669</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;1) You can disable the root account in /etc/passwd Thats going to make it pretty hard to administer the machine.&lt;BR /&gt;&lt;BR /&gt;I would suggest setting up ssh to only accept root access based on pre-placed public keys.&lt;BR /&gt;&lt;BR /&gt;/etc/ssh/sshd_config&lt;BR /&gt;&lt;BR /&gt;#PermitRootLogin no&lt;BR /&gt;PermitRootLogin without-password&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 20 Feb 2008 08:58:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-root-deny-in-web-server/m-p/4147577#M31669</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-02-20T08:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: how root deny in web server ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-root-deny-in-web-server/m-p/4147578#M31670</link>
      <description>Hello Manoj,&lt;BR /&gt;&lt;BR /&gt;you need to disable root access over SSH. Just edit your /etc/ssh/sshd_config and reload the sshd.&lt;BR /&gt;&lt;BR /&gt;PermitRootLogin no&lt;BR /&gt;&lt;BR /&gt;To enable the more secure Pubkey Authentication, just add &lt;BR /&gt;&lt;BR /&gt;RSAAuthentication yes&lt;BR /&gt;PubkeyAuthentication yes&lt;BR /&gt;AuthorizedKeysFile      %h/.ssh/authorized_keys&lt;BR /&gt;&lt;BR /&gt;to you /etc/ssh/sshd_config. You need to create a key pair and put your new generated public key in the /home/$USERNAME/.ssh/authorized_keys on the weberver. Now you can access the webserver with a normal user account and without a password. Root login is denied, so you need to use sudo or su to change you user.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Patrick</description>
      <pubDate>Thu, 21 Feb 2008 07:14:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-root-deny-in-web-server/m-p/4147578#M31670</guid>
      <dc:creator>Patrick Terlisten</dc:creator>
      <dc:date>2008-02-21T07:14:59Z</dc:date>
    </item>
  </channel>
</rss>

