<?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-enable direct root login in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/re-enable-direct-root-login/m-p/5165051#M50475</link>
    <description>Hi all&lt;BR /&gt;&lt;BR /&gt;I am aware that enabling direct root login is not advisable. But  I need to try this out for some of testing purposes. ;-)&lt;BR /&gt;&lt;BR /&gt;I want to enable direct root login using putty (ssh) in hp-ux 11.23. What should I do?&lt;BR /&gt;&lt;BR /&gt;I came across a few posts which said that "PermitRootLogin yes" sshd.config file.&lt;BR /&gt;I do not have a file named /etc/securetty.&lt;BR /&gt;&lt;BR /&gt;When i login as root the login screen closes before diplaying the prompt #.&lt;BR /&gt;&lt;BR /&gt;I welcome ur suggestions.</description>
    <pubDate>Fri, 20 Mar 2009 05:18:40 GMT</pubDate>
    <dc:creator>Ski Ride</dc:creator>
    <dc:date>2009-03-20T05:18:40Z</dc:date>
    <item>
      <title>Re-enable direct root login</title>
      <link>https://community.hpe.com/t5/operating-system-linux/re-enable-direct-root-login/m-p/5165051#M50475</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;I am aware that enabling direct root login is not advisable. But  I need to try this out for some of testing purposes. ;-)&lt;BR /&gt;&lt;BR /&gt;I want to enable direct root login using putty (ssh) in hp-ux 11.23. What should I do?&lt;BR /&gt;&lt;BR /&gt;I came across a few posts which said that "PermitRootLogin yes" sshd.config file.&lt;BR /&gt;I do not have a file named /etc/securetty.&lt;BR /&gt;&lt;BR /&gt;When i login as root the login screen closes before diplaying the prompt #.&lt;BR /&gt;&lt;BR /&gt;I welcome ur suggestions.</description>
      <pubDate>Fri, 20 Mar 2009 05:18:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/re-enable-direct-root-login/m-p/5165051#M50475</guid>
      <dc:creator>Ski Ride</dc:creator>
      <dc:date>2009-03-20T05:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Re-enable direct root login</title>
      <link>https://community.hpe.com/t5/operating-system-linux/re-enable-direct-root-login/m-p/5165052#M50476</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/?p=19" target="_blank"&gt;http://www.hpux.ws/?p=19&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The procedure above may have been done to the ssh daemon configuration.&lt;BR /&gt;&lt;BR /&gt;Even if something else was done, the procedure identifies the possible changes that were made.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 20 Mar 2009 05:23:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/re-enable-direct-root-login/m-p/5165052#M50476</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-03-20T05:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Re-enable direct root login</title>
      <link>https://community.hpe.com/t5/operating-system-linux/re-enable-direct-root-login/m-p/5165053#M50477</link>
      <description>you need to configure password less ssh need to modify the &lt;ROOTHOME&gt;.ssh/id_rsa&lt;BR /&gt;&lt;BR /&gt;you can generate key with&lt;BR /&gt;ssh-keygen -t command, &lt;BR /&gt;this will help&lt;/ROOTHOME&gt;</description>
      <pubDate>Fri, 20 Mar 2009 05:26:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/re-enable-direct-root-login/m-p/5165053#M50477</guid>
      <dc:creator>avizen9</dc:creator>
      <dc:date>2009-03-20T05:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re-enable direct root login</title>
      <link>https://community.hpe.com/t5/operating-system-linux/re-enable-direct-root-login/m-p/5165054#M50478</link>
      <description>Hi Steven,&lt;BR /&gt;&lt;BR /&gt;I am not sure why i should go for "login by public key and not interactive login" as describe in the link by you. I believe I must use the interactive login only.&lt;BR /&gt;&lt;BR /&gt;The below is the syslog message&lt;BR /&gt;&lt;BR /&gt;Mar 20 12:24:49 gamma sshd[21834]: Accepted keyboard-interactive/pam for root from 172.16.1.38 port 2304 ssh2&lt;BR /&gt;Mar 20 12:24:49 gamma sshd[21834]: Accepted keyboard-interactive/pam for root from 172.16.1.38 port 2304 ssh2&lt;BR /&gt;Mar 20 12:24:49 gamma sshd[21834]: pam_setcred: error Permission denied&lt;BR /&gt;&lt;BR /&gt;Is it anything to do with pam configuration?</description>
      <pubDate>Fri, 20 Mar 2009 06:02:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/re-enable-direct-root-login/m-p/5165054#M50478</guid>
      <dc:creator>Ski Ride</dc:creator>
      <dc:date>2009-03-20T06:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Re-enable direct root login</title>
      <link>https://community.hpe.com/t5/operating-system-linux/re-enable-direct-root-login/m-p/5165055#M50479</link>
      <description>Also as an addition information the login screen appears but closes immediately.&lt;BR /&gt;&lt;BR /&gt;This is what i get...&lt;BR /&gt;You have mail.&lt;BR /&gt;logout&lt;BR /&gt;Connection to 172.16.1.188 closed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any help...? Is it something to do with /.profile?</description>
      <pubDate>Fri, 20 Mar 2009 09:48:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/re-enable-direct-root-login/m-p/5165055#M50479</guid>
      <dc:creator>Ski Ride</dc:creator>
      <dc:date>2009-03-20T09:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Re-enable direct root login</title>
      <link>https://community.hpe.com/t5/operating-system-linux/re-enable-direct-root-login/m-p/5165056#M50480</link>
      <description>There was the following lines added long back in the /etc/profile. After commenting out the exit it works fine.&lt;BR /&gt;&lt;BR /&gt;if [[ $LGNM != "root" ]]&lt;BR /&gt;then&lt;BR /&gt;        HISTFILE=/home/$LGNM/.sh_history&lt;BR /&gt;        cd /home/$LGNM&lt;BR /&gt;else&lt;BR /&gt;        HISTFILE=/.sh_history&lt;BR /&gt;        #exit&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;Keep Smiling :-) .</description>
      <pubDate>Fri, 20 Mar 2009 13:31:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/re-enable-direct-root-login/m-p/5165056#M50480</guid>
      <dc:creator>Ski Ride</dc:creator>
      <dc:date>2009-03-20T13:31:29Z</dc:date>
    </item>
  </channel>
</rss>

