<?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: message when loggin in root in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428324#M2111</link>
    <description>Just in case you need awk in your .profile :&lt;BR /&gt;&lt;BR /&gt;the 3000 limit cannot be changed : =&amp;gt;&lt;BR /&gt;&lt;BR /&gt;why awk cannot handle lines greater than 3000 char :&lt;BR /&gt;&lt;BR /&gt;The POSIX standard requires at least LINE_MAX characters, which is&lt;BR /&gt;defined as 2k (2048) - this is the generic minimum limit you can&lt;BR /&gt;expect for a text processing tool.  In the case of our awk(1) -&lt;BR /&gt;which is historically based on nawk(1) - we have the limit of 3k.&lt;BR /&gt;&amp;gt;From awk.h in the source:&lt;BR /&gt;&lt;BR /&gt;#if defined LINE_MAX&lt;BR /&gt;#define RECSIZE LINE_MAX        /* POSIX 1003.2 buffer size */&lt;BR /&gt;#else&lt;BR /&gt;#define RECSIZE (3 * 1024)      /* sets limit on records, fields, etc.,&lt;BR /&gt;etc. */&lt;BR /&gt;#endif&lt;BR /&gt;&lt;BR /&gt;And LINE_MAX is defined in limits(4) (ie the &lt;LIMITS.H&gt; file):&lt;BR /&gt;&lt;BR /&gt;#  define LINE_MAX              2048    /* Expected length in bytes of a&lt;BR /&gt;                                           utility's input line when&lt;BR /&gt;                                           input is from text files */&lt;BR /&gt;&lt;BR /&gt;This is a limit we cannot change without recompiling awk(1).&lt;/LIMITS.H&gt;</description>
    <pubDate>Thu, 29 Jun 2000 13:20:39 GMT</pubDate>
    <dc:creator>Alex Glennie</dc:creator>
    <dc:date>2000-06-29T13:20:39Z</dc:date>
    <item>
      <title>message when loggin in root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428321#M2108</link>
      <description>When i login to root i get this message:&lt;BR /&gt;&lt;BR /&gt;awk: Input line root 0 0 3 root 1 0  cannot be longer than 3,000 bytes.&lt;BR /&gt; The source line number is 1.&lt;BR /&gt;&lt;BR /&gt;How do I fix this???</description>
      <pubDate>Thu, 29 Jun 2000 13:05:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428321#M2108</guid>
      <dc:creator>f. halili</dc:creator>
      <dc:date>2000-06-29T13:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: message when loggin in root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428322#M2109</link>
      <description>Look in /.profile if there is an awk command.</description>
      <pubDate>Thu, 29 Jun 2000 13:15:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428322#M2109</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2000-06-29T13:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: message when loggin in root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428323#M2110</link>
      <description>Looks like the root profile has a command in it that calls awk and the syntax for awk is incorrect. Trying to make awk read too much than it is capable of. &lt;BR /&gt;&lt;BR /&gt;You can remove the awk portion from the profile and work on it outside of the profile.&lt;BR /&gt;You may need some record separators (RS) in the awk syntax. This is just a guess.&lt;BR /&gt;&lt;BR /&gt;The profile is looking at awk though.</description>
      <pubDate>Thu, 29 Jun 2000 13:17:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428323#M2110</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-06-29T13:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: message when loggin in root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428324#M2111</link>
      <description>Just in case you need awk in your .profile :&lt;BR /&gt;&lt;BR /&gt;the 3000 limit cannot be changed : =&amp;gt;&lt;BR /&gt;&lt;BR /&gt;why awk cannot handle lines greater than 3000 char :&lt;BR /&gt;&lt;BR /&gt;The POSIX standard requires at least LINE_MAX characters, which is&lt;BR /&gt;defined as 2k (2048) - this is the generic minimum limit you can&lt;BR /&gt;expect for a text processing tool.  In the case of our awk(1) -&lt;BR /&gt;which is historically based on nawk(1) - we have the limit of 3k.&lt;BR /&gt;&amp;gt;From awk.h in the source:&lt;BR /&gt;&lt;BR /&gt;#if defined LINE_MAX&lt;BR /&gt;#define RECSIZE LINE_MAX        /* POSIX 1003.2 buffer size */&lt;BR /&gt;#else&lt;BR /&gt;#define RECSIZE (3 * 1024)      /* sets limit on records, fields, etc.,&lt;BR /&gt;etc. */&lt;BR /&gt;#endif&lt;BR /&gt;&lt;BR /&gt;And LINE_MAX is defined in limits(4) (ie the &lt;LIMITS.H&gt; file):&lt;BR /&gt;&lt;BR /&gt;#  define LINE_MAX              2048    /* Expected length in bytes of a&lt;BR /&gt;                                           utility's input line when&lt;BR /&gt;                                           input is from text files */&lt;BR /&gt;&lt;BR /&gt;This is a limit we cannot change without recompiling awk(1).&lt;/LIMITS.H&gt;</description>
      <pubDate>Thu, 29 Jun 2000 13:20:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428324#M2111</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2000-06-29T13:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: message when loggin in root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428325#M2112</link>
      <description>there are no awk lines in the profile.&lt;BR /&gt;&lt;BR /&gt;when you login as root you see the message.&lt;BR /&gt;when you su - root you don't see the message.</description>
      <pubDate>Thu, 29 Jun 2000 13:40:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428325#M2112</guid>
      <dc:creator>f. halili</dc:creator>
      <dc:date>2000-06-29T13:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: message when loggin in root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428326#M2113</link>
      <description>Somehow, somewhere, awk is being called. Is it just with the root login?&lt;BR /&gt;Could other login accts be having this issue as well? If so, check the /etc/profile.&lt;BR /&gt;Another place could be the .kshrc (ksh) or the .cshrc (csh). Look into these files if they are being used.&lt;BR /&gt;&lt;BR /&gt;It would seem highly likely that awk is being called from somewhere.</description>
      <pubDate>Thu, 29 Jun 2000 13:46:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428326#M2113</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-06-29T13:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: message when loggin in root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428327#M2114</link>
      <description>rick -&lt;BR /&gt;&lt;BR /&gt;other accounts are okey. the /etc/profile doesn't call awk.  i get this message only as root user, at login.... hmmmm</description>
      <pubDate>Thu, 29 Jun 2000 13:53:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428327#M2114</guid>
      <dc:creator>f. halili</dc:creator>
      <dc:date>2000-06-29T13:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: message when loggin in root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428328#M2115</link>
      <description>Maybe put a set -x in the profile and then loggin as root. The set -x will help you see how and where the script is running and what it is calling.</description>
      <pubDate>Thu, 29 Jun 2000 13:59:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428328#M2115</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-06-29T13:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: message when loggin in root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428329#M2116</link>
      <description>Just a hunch...&lt;BR /&gt;&lt;BR /&gt;From the look of the error, it may be that somewhere in the login files, awk is parsing /etc/group using a ":" as a field separator.  See if you have a group "root" with a bunch of users in that group (which would be strange though?).  If by chance this is the case, you can split up the "root" group on multiple lines.</description>
      <pubDate>Thu, 29 Jun 2000 15:31:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428329#M2116</guid>
      <dc:creator>Tom Danzig</dc:creator>
      <dc:date>2000-06-29T15:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: message when loggin in root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428330#M2117</link>
      <description>PS:  Are you logging in as root through CDE?</description>
      <pubDate>Thu, 29 Jun 2000 15:33:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428330#M2117</guid>
      <dc:creator>Tom Danzig</dc:creator>
      <dc:date>2000-06-29T15:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: message when loggin in root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428331#M2118</link>
      <description>TOM,&lt;BR /&gt;root is the only id in the group root:&lt;BR /&gt;&lt;BR /&gt;root::0:root&lt;BR /&gt;&lt;BR /&gt;I login via vue. The message however appears even in the console.&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jun 2000 15:52:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428331#M2118</guid>
      <dc:creator>f. halili</dc:creator>
      <dc:date>2000-06-29T15:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: message when loggin in root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428332#M2119</link>
      <description>Check .vueprofile&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jun 2000 16:02:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428332#M2119</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-06-29T16:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: message when loggin in root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428333#M2120</link>
      <description>i placed a set -x in the .profile...&lt;BR /&gt;&lt;BR /&gt;The message appears before the lines in the .profile are called.&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jun 2000 16:05:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428333#M2120</guid>
      <dc:creator>f. halili</dc:creator>
      <dc:date>2000-06-29T16:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: message when loggin in root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428334#M2121</link>
      <description>What does the .profile call? Does it source another file? &lt;BR /&gt;There is a default super-user profile at /usr/newconfig/.profile. Make a backup copy of the .profile in place now and copy the /usr/newconfig/.profile into place and run a login test. Does the awk error still show up?</description>
      <pubDate>Thu, 29 Jun 2000 16:21:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428334#M2121</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-06-29T16:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: message when loggin in root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428335#M2122</link>
      <description>I clicked the 10 points to soon.&lt;BR /&gt;&lt;BR /&gt;Topic is not yet closed.&lt;BR /&gt;&lt;BR /&gt;I copied the /usr/newconfig/.profile to the root directory and same message still appears.....</description>
      <pubDate>Thu, 29 Jun 2000 16:47:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428335#M2122</guid>
      <dc:creator>f. halili</dc:creator>
      <dc:date>2000-06-29T16:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: message when loggin in root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428336#M2123</link>
      <description>The /usr/newconfig/.profile should only be calling/setting PATH, VUE, TERM, EDITOR, and MAIL. Is there anything else that is being called or set?&lt;BR /&gt;&lt;BR /&gt;You may want to start commenting out some of the calls/sets to isolate the issue.&lt;BR /&gt;&lt;BR /&gt;I don't think we have eliminated the /etc/profile yet either. Could be making a call for only the root account.</description>
      <pubDate>Thu, 29 Jun 2000 17:03:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428336#M2123</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-06-29T17:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: message when loggin in root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428337#M2124</link>
      <description>Is the kernel parm "large_ncargs_enable = 0" if so try setting it to "large_ncargs_enable = 1"</description>
      <pubDate>Thu, 29 Jun 2000 17:04:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428337#M2124</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2000-06-29T17:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: message when loggin in root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428338#M2125</link>
      <description>What seems strange is that is appears when you login as root but not when you su - root. Check the /etc/profile again and see if it is suppose to do something only if root logs in (if "id" = "0").</description>
      <pubDate>Thu, 29 Jun 2000 17:10:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428338#M2125</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-06-29T17:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: message when loggin in root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428339#M2126</link>
      <description>check /etc/profile.  This is accessed before the individual user profiles at login but is not resourced with su - .</description>
      <pubDate>Thu, 29 Jun 2000 20:34:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428339#M2126</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-06-29T20:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: message when loggin in root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428340#M2127</link>
      <description>Just as an idea? did you check the root entry in /etc/passwd and /etc/group? Login command is checking those file before executing profiles scripts. I don?t think you have got the /etc/gettydefs modified.&lt;BR /&gt;You are not getting the error when su, or login as another user then root. What about when you telnet or rlogin from another box? Do you have or not the same error?&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Jun 2000 16:52:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-when-loggin-in-root/m-p/2428340#M2127</guid>
      <dc:creator>Antoanetta Naghiu</dc:creator>
      <dc:date>2000-06-30T16:52:01Z</dc:date>
    </item>
  </channel>
</rss>

