<?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: Login problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562650#M226795</link>
    <description>Yep. You can edit /etc/profile using root user and put,&lt;BR /&gt;&lt;BR /&gt;export TERM=vt100&lt;BR /&gt;&lt;BR /&gt;It will not prompt. Put this in the starting "# Initialize terminal" part and before testing TERM variable.&lt;BR /&gt;&lt;BR /&gt;hth.</description>
    <pubDate>Mon, 13 Jun 2005 00:51:37 GMT</pubDate>
    <dc:creator>Muthukumar_5</dc:creator>
    <dc:date>2005-06-13T00:51:37Z</dc:date>
    <item>
      <title>Login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562644#M226789</link>
      <description>Hi guys, I often see this whenever I telnet to a terminal &lt;BR /&gt;"&lt;BR /&gt;You have mail.&lt;BR /&gt;&lt;BR /&gt;source /9000/bin/environ&lt;BR /&gt;&lt;BR /&gt;TERM = (hp)&lt;BR /&gt;"&lt;BR /&gt;What is this, and what should I input? .. is there anyway to get rid of this for future login?&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Henry&lt;BR /&gt;</description>
      <pubDate>Sun, 12 Jun 2005 22:40:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562644#M226789</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2005-06-12T22:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562645#M226790</link>
      <description>you can edit ~/.profile and comment out the "echo" line.&lt;BR /&gt;"You have mail" is a indicator that you need pay some attention to your system because ther are new entry for you in /var/mail directory. You'd better keep this notification.</description>
      <pubDate>Sun, 12 Jun 2005 22:54:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562645#M226790</guid>
      <dc:creator>kai_11</dc:creator>
      <dc:date>2005-06-12T22:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562646#M226791</link>
      <description>Well, the "You have mail." message means just that.  You can view your mail via mail or mailx from the command line.&lt;BR /&gt;&lt;BR /&gt;The "source /9000/bin/environ" is something custom to your site that is invoked from /etc/profile or ~/.profile.  The is probably an echo statement before the actual statement that sources the environment.  If you want to get rid of it, you first need to know from where it is executed and then remove the echo statement.&lt;BR /&gt;&lt;BR /&gt;The "TERM=(hp)" is a question asking you to verify your terminal type.  It will default to an hp type terminal.  You need to know what your terminal emulator supports to know what to input there.  It could be a vt100, vt220, vt320 or any number of other terminal types.  Figure out the terminal type and just type it in when that comes up.</description>
      <pubDate>Sun, 12 Jun 2005 22:56:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562646#M226791</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-06-12T22:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562647#M226792</link>
      <description>It is automated in /etc/profile or .profile file in your $HOME directoy.&lt;BR /&gt;&lt;BR /&gt;You have mail is indicating that "you are having new mail" and you can view it as using mail or mailx.&lt;BR /&gt;&lt;BR /&gt;TERM is expecting terminal type like vt100 etc.&lt;BR /&gt;&lt;BR /&gt;see /etc/profile or .profile and comment echo statements to avoid this.&lt;BR /&gt;&lt;BR /&gt;hth.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 12 Jun 2005 23:39:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562647#M226792</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-06-12T23:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562648#M226793</link>
      <description>Hi Henry,&lt;BR /&gt;&lt;BR /&gt;This messages are displayed when your .profile file is executed. This file resides in your HOME directory.&lt;BR /&gt;You have mail.=&amp;gt; It gives an indication that there is mail for you in /var/mail directory which can be viewed by mail or mailx command as suggested by our friends. I suggest not to comment this line&lt;BR /&gt;&lt;BR /&gt;source /9000/bin/environ=&amp;gt; this seems to be &lt;BR /&gt;specific to your server. You can comment this depending upon the importance.&lt;BR /&gt;&lt;BR /&gt;TERM = (hp) =&amp;gt;system is asking you to input the type of terminal you are using to set the emulation(so that some keys work properly like backspace ^C etc). Default is hp, you can input it depending upon th eterminal you use(eg vt100,vt220 etc). Please do not comment this line.&lt;BR /&gt;&lt;BR /&gt;Overall it is just displaying the messages, so i think there is no harm, let it be as it is.&lt;BR /&gt;&lt;BR /&gt;Cheers!!!&lt;BR /&gt;eknath</description>
      <pubDate>Sun, 12 Jun 2005 23:56:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562648#M226793</guid>
      <dc:creator>Eknath</dc:creator>
      <dc:date>2005-06-12T23:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562649#M226794</link>
      <description>Hi Guys, &lt;BR /&gt;&lt;BR /&gt;  Thanks for the info. It appears that I need to key in vt100 everytime i log onto the terminal, can i edit the .profile or any other files so that I will not need to key in anything prior to the login.. &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Henry</description>
      <pubDate>Mon, 13 Jun 2005 00:40:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562649#M226794</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2005-06-13T00:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562650#M226795</link>
      <description>Yep. You can edit /etc/profile using root user and put,&lt;BR /&gt;&lt;BR /&gt;export TERM=vt100&lt;BR /&gt;&lt;BR /&gt;It will not prompt. Put this in the starting "# Initialize terminal" part and before testing TERM variable.&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Mon, 13 Jun 2005 00:51:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562650#M226795</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-06-13T00:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562651#M226796</link>
      <description>Run ttytype command to know your terminal type. &lt;BR /&gt;&lt;BR /&gt;$ ttytype&lt;BR /&gt;vt220&lt;BR /&gt;&lt;BR /&gt;Add the following line to your .profile&lt;BR /&gt;export TERM=vt220&lt;BR /&gt;&lt;BR /&gt;or to keep the .profile flexible for any temrinal, put the following line&lt;BR /&gt;export TERM=`ttytype`&lt;BR /&gt;&lt;BR /&gt;PS: ttytype in the above command is within back quotes&lt;BR /&gt;&lt;BR /&gt;-Amit&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Jun 2005 01:08:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562651#M226796</guid>
      <dc:creator>Amit Agarwal_1</dc:creator>
      <dc:date>2005-06-13T01:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562652#M226797</link>
      <description>I just recalled that instead of explicitly exporting TERM in .profile, you can instead add command line for 'ttytype -s' at the end of your profile. This command would inspect and export TERM appropriatley.</description>
      <pubDate>Mon, 13 Jun 2005 01:11:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562652#M226797</guid>
      <dc:creator>Amit Agarwal_1</dc:creator>
      <dc:date>2005-06-13T01:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562653#M226798</link>
      <description>Hi guys,&lt;BR /&gt;&lt;BR /&gt;This is my .profile file for my user&lt;BR /&gt;&lt;BR /&gt;# @(#) $Header: profile,v 1.3 94/08/09 20:06:25 jeffj Exp $&lt;BR /&gt;&lt;BR /&gt;# Set up the terminal:&lt;BR /&gt;        eval ` tset -s -Q -m ':?hp' `&lt;BR /&gt;        stty erase "^H" kill "^U" intr "^C" eof "^D"&lt;BR /&gt;        stty hupcl ixon ixoff&lt;BR /&gt;        tabs&lt;BR /&gt;&lt;BR /&gt;# Set up the search paths:&lt;BR /&gt;        PATH=$PATH:.&lt;BR /&gt;&lt;BR /&gt;# Set up the shell environment:&lt;BR /&gt;        set -u&lt;BR /&gt;        trap "echo 'logout'" 0&lt;BR /&gt;&lt;BR /&gt;# Set up the shell variables:&lt;BR /&gt;        EDITOR=vi&lt;BR /&gt;        export EDITOR&lt;BR /&gt;&lt;BR /&gt;        echo ""&lt;BR /&gt;        echo ". /9000/bin/sh.environ"&lt;BR /&gt;        . /9000/bin/sh.environ&lt;BR /&gt;        echo ""&lt;BR /&gt;"&lt;BR /&gt;I tried inputting tytype -s and export TERM=vt100 but none of this work? did I script someting wrongly?</description>
      <pubDate>Mon, 13 Jun 2005 01:59:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562653#M226798</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2005-06-13T01:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562654#M226799</link>
      <description>Hi,&lt;BR /&gt;have you added the lines to the end of the profile?&lt;BR /&gt;&lt;BR /&gt;TERM=vt100&lt;BR /&gt;export TERM&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Enrico</description>
      <pubDate>Mon, 13 Jun 2005 03:03:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562654#M226799</guid>
      <dc:creator>Enrico P.</dc:creator>
      <dc:date>2005-06-13T03:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562655#M226800</link>
      <description>Hi Enrico,&lt;BR /&gt;&lt;BR /&gt; Yes, I have tried the suggestion given, but it still prompted me to specify my ttytype.. did i miss something out?&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Henry</description>
      <pubDate>Mon, 13 Jun 2005 03:06:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562655#M226800</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2005-06-13T03:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562656#M226801</link>
      <description>What is there in /etc/profile file? I hope it is prompting that. You can check this as,&lt;BR /&gt;&lt;BR /&gt; -- /etc/profile --&lt;BR /&gt;# begin&lt;BR /&gt;echo  "This is /etc/profile file"&lt;BR /&gt;&lt;BR /&gt; -- $HOME/.profile&lt;BR /&gt;# begin&lt;BR /&gt;echo "this is .profile file"&lt;BR /&gt;&lt;BR /&gt;I hope it is being executed from /etc/profile file so that changes has to be made in that.&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Mon, 13 Jun 2005 03:38:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562656#M226801</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-06-13T03:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562657#M226802</link>
      <description>Can you send the content of the &lt;BR /&gt;&lt;BR /&gt;/9000/bin/sh.environ&lt;BR /&gt;&lt;BR /&gt;file?&lt;BR /&gt;&lt;BR /&gt;Enrico</description>
      <pubDate>Mon, 13 Jun 2005 03:39:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562657#M226802</guid>
      <dc:creator>Enrico P.</dc:creator>
      <dc:date>2005-06-13T03:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562658#M226803</link>
      <description>Hi Henry,&lt;BR /&gt;&lt;BR /&gt;First make a copy of .profile and /etc/profile before doing any changes.&lt;BR /&gt;&lt;BR /&gt;Then comment following lines in /etc/profile as shown&lt;BR /&gt; # Notify if there is mail&lt;BR /&gt;#        if [ -f /usr/bin/mail ]&lt;BR /&gt;#        then&lt;BR /&gt;#                if mail -e&lt;BR /&gt;#                then    echo "You have mail."&lt;BR /&gt;#                fi&lt;BR /&gt;#        fi&lt;BR /&gt;&lt;BR /&gt;and finally comment these lines in .profile&lt;BR /&gt; # Set up the terminal:&lt;BR /&gt;#        if [ "$TERM" = "" ]&lt;BR /&gt;#        then&lt;BR /&gt;#               eval ` tset -s -Q -m ':?hp' `&lt;BR /&gt;#        else&lt;BR /&gt;#                eval ` tset -s -Q `&lt;BR /&gt;#        fi&lt;BR /&gt;&lt;BR /&gt;TERM=vt110&lt;BR /&gt;export TERM&lt;BR /&gt;#echo ""&lt;BR /&gt;#echo ". /9000/bin/sh.environ"&lt;BR /&gt;&lt;BR /&gt;any way i still wonder what does  ./9000/bin/sh.environ do? Is it used to set environment variables..&lt;BR /&gt;&lt;BR /&gt;Cheers!!!&lt;BR /&gt;eknath</description>
      <pubDate>Mon, 13 Jun 2005 03:57:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562658#M226803</guid>
      <dc:creator>Eknath</dc:creator>
      <dc:date>2005-06-13T03:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562659#M226804</link>
      <description>What does ttytype return, when you run from command line?</description>
      <pubDate>Mon, 13 Jun 2005 09:38:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562659#M226804</guid>
      <dc:creator>Amit Agarwal_1</dc:creator>
      <dc:date>2005-06-13T09:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562660#M226805</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&amp;gt; echo ""&lt;BR /&gt;&amp;gt;echo ". /9000/bin/sh.environ"&lt;BR /&gt;&amp;gt;. /9000/bin/sh.environ&lt;BR /&gt;&amp;gt;echo ""&lt;BR /&gt;&lt;BR /&gt;If this is the .profile for your user then your terminal type is set though this file. Contents  of this file may be altered to set it to desired i.e. vt100 or vt220. Another way of achiving it will be to put 'export TERM=vt100'&lt;BR /&gt;below the entry of this line in your .profile of thae user for whom you want to set this.&lt;BR /&gt;&lt;BR /&gt;For not viewing the important message like You have mail &amp;amp; all you can put clear in the last line of the .profile for the user allthough it is not recommended.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Tue, 14 Jun 2005 23:04:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562660#M226805</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-06-14T23:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562661#M226806</link>
      <description>Hi Henry,&lt;BR /&gt;&lt;BR /&gt;Just look at the file I have attached. It is standard .profile of root just after installation. Please see the change I have made to set the tty. I have commented the echo command. Then I have added the TERM=vt100&lt;BR /&gt;export TERM&lt;BR /&gt;&lt;BR /&gt;commands. It should work at normal conditions.&lt;BR /&gt;&lt;BR /&gt;hope it may help you to check..&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Jino&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jun 2005 23:32:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3562661#M226806</guid>
      <dc:creator>Jino.P.V</dc:creator>
      <dc:date>2005-06-14T23:32:05Z</dc:date>
    </item>
  </channel>
</rss>

