<?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: root can't login remotely in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-login-remotely/m-p/2933152#M752444</link>
    <description>This may be way off track... But when you login remotely is the terminal set up in the profile correctly?&lt;BR /&gt;&lt;BR /&gt;I had problems once when using meta characters in the root password (actually "-"), some terminal settings swapped them round, hence "login incorrect" was shown.  I simply changed the root password for this, but I could have equally have corrected the root cause!&lt;BR /&gt;&lt;BR /&gt;Tim&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 22 Mar 2003 20:24:52 GMT</pubDate>
    <dc:creator>Tim D Fulford</dc:creator>
    <dc:date>2003-03-22T20:24:52Z</dc:date>
    <item>
      <title>root can't login remotely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-login-remotely/m-p/2933144#M752436</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I don't have /etc/securetty file on my system. However, I can't use root to directly login remotely, but su.&lt;BR /&gt;&lt;BR /&gt;You know why?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Crystal</description>
      <pubDate>Fri, 21 Mar 2003 18:02:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-login-remotely/m-p/2933144#M752436</guid>
      <dc:creator>Crystal_1</dc:creator>
      <dc:date>2003-03-21T18:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: root can't login remotely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-login-remotely/m-p/2933145#M752437</link>
      <description>Hi Crystal,&lt;BR /&gt;&lt;BR /&gt;Nothing comes to mind.  Do you get an error message?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 21 Mar 2003 18:03:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-login-remotely/m-p/2933145#M752437</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-03-21T18:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: root can't login remotely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-login-remotely/m-p/2933146#M752438</link>
      <description>Do you have an .rhost file set up on that remote system to allow you to remotely connect to as root?&lt;BR /&gt;&lt;BR /&gt;Rgrds,&lt;BR /&gt;Rita&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Mar 2003 18:04:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-login-remotely/m-p/2933146#M752438</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2003-03-21T18:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: root can't login remotely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-login-remotely/m-p/2933147#M752439</link>
      <description>login incorrect.</description>
      <pubDate>Fri, 21 Mar 2003 18:06:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-login-remotely/m-p/2933147#M752439</guid>
      <dc:creator>Crystal_1</dc:creator>
      <dc:date>2003-03-21T18:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: root can't login remotely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-login-remotely/m-p/2933148#M752440</link>
      <description>It's really wired....I created new /etc/securetty and deleted it, then works.&lt;BR /&gt;&lt;BR /&gt;Thanks anyways....&lt;BR /&gt;&lt;BR /&gt;Crystal</description>
      <pubDate>Fri, 21 Mar 2003 18:10:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-login-remotely/m-p/2933148#M752440</guid>
      <dc:creator>Crystal_1</dc:creator>
      <dc:date>2003-03-21T18:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: root can't login remotely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-login-remotely/m-p/2933149#M752441</link>
      <description>Hi, &lt;BR /&gt;You should also look at the /var/adm/inetd.sec file which is an access control file for indernet daemons like &lt;BR /&gt;login, telnet, ftp, shell, rcp etc.. &lt;BR /&gt;You should conside that as to whom to give access to. &lt;BR /&gt;. &lt;BR /&gt;</description>
      <pubDate>Fri, 21 Mar 2003 19:45:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-login-remotely/m-p/2933149#M752441</guid>
      <dc:creator>Jairo Campana</dc:creator>
      <dc:date>2003-03-21T19:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: root can't login remotely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-login-remotely/m-p/2933150#M752442</link>
      <description>check your systems /etc/profile&lt;BR /&gt;&lt;BR /&gt;and look for an if statement that will kick root out if it comes in other than console.&lt;BR /&gt;&lt;BR /&gt;this is what I use.&lt;BR /&gt;&lt;BR /&gt;if [ `whoami` = root -a `tty` ! "/dev/console" ]&lt;BR /&gt;then&lt;BR /&gt;         echo "Error: root logins are only allowed on the console. "&lt;BR /&gt;         exit 1&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;other than this there should'nt be anything to prevent you from login in also check /etc/default&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Mar 2003 22:49:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-login-remotely/m-p/2933150#M752442</guid>
      <dc:creator>Donny Jekels</dc:creator>
      <dc:date>2003-03-21T22:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: root can't login remotely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-login-remotely/m-p/2933151#M752443</link>
      <description>Crystal,&lt;BR /&gt;&lt;BR /&gt;sorry, /etc/default is only on Sun ;-)&lt;BR /&gt;&lt;BR /&gt;but my best bet right now is check your /etc/profile.&lt;BR /&gt;&lt;BR /&gt;use tis file wisely and you can control all your users, try using function inside this file for different users. &lt;BR /&gt;&lt;BR /&gt;stick this function in at the bottom of this file and see what happens.&lt;BR /&gt;&lt;BR /&gt;greet()&lt;BR /&gt;{&lt;BR /&gt;set -- $(who -Rm)&lt;BR /&gt;Machine=${6#\(}&lt;BR /&gt;Machine=${Machine%\)}&lt;BR /&gt;nslookup $Machine | strings | tail -n 1 | cut -f2 -d":" | read IP&lt;BR /&gt;NAME=$(whoami)&lt;BR /&gt;grep ${NAME} /etc/passwd|awk -F: '{print $5}'|awk '{print $1}'|read Name&lt;BR /&gt;HOUR=$(date +%H)&lt;BR /&gt;if [ $HOUR -le 12 ] &amp;amp;&amp;amp; [ $HOUR -ge 0 ]&lt;BR /&gt;         then&lt;BR /&gt;         greet=Morning&lt;BR /&gt;         elif [ $HOUR -gt 12 ] &amp;amp;&amp;amp; [ $HOUR -le 18 ]&lt;BR /&gt;         then&lt;BR /&gt;         greet=Afternoon&lt;BR /&gt;         else&lt;BR /&gt;         greet=Evening&lt;BR /&gt;fi&lt;BR /&gt;       if [ -f /usr/bin/mail ]&lt;BR /&gt;          then&lt;BR /&gt;               if mail -e&lt;BR /&gt;               then&lt;BR /&gt;               ifmail=$(echo "You've got mail, please check it.")&lt;BR /&gt;               else&lt;BR /&gt;               ifmail=$(echo "You don't have mail at this time.")&lt;BR /&gt;               fi&lt;BR /&gt;         fi&lt;BR /&gt;printf "\n\tGood $greet, $Name, $ifmail\n\n\n"&lt;BR /&gt;printf "\tYour PC's IP address is: $IP\n\n"&lt;BR /&gt;printf "\tYour PC's name is: $Machine\n\n"&lt;BR /&gt;printf "\tToday is: `date +%A`\n\n"&lt;BR /&gt;printf "\tDate is: `date +%D`\n\n"&lt;BR /&gt;}&lt;BR /&gt;greet&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;peace to the world&lt;BR /&gt;Donny</description>
      <pubDate>Fri, 21 Mar 2003 22:59:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-login-remotely/m-p/2933151#M752443</guid>
      <dc:creator>Donny Jekels</dc:creator>
      <dc:date>2003-03-21T22:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: root can't login remotely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-login-remotely/m-p/2933152#M752444</link>
      <description>This may be way off track... But when you login remotely is the terminal set up in the profile correctly?&lt;BR /&gt;&lt;BR /&gt;I had problems once when using meta characters in the root password (actually "-"), some terminal settings swapped them round, hence "login incorrect" was shown.  I simply changed the root password for this, but I could have equally have corrected the root cause!&lt;BR /&gt;&lt;BR /&gt;Tim&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 22 Mar 2003 20:24:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-can-t-login-remotely/m-p/2933152#M752444</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2003-03-22T20:24:52Z</dc:date>
    </item>
  </channel>
</rss>

