<?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: user getting message when logging in in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611716#M234541</link>
    <description>Hi Ken:&lt;BR /&gt;&lt;BR /&gt;Depending upon the user's default shell, you might find your culprit code in ~/.login and ~./logout.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Thu, 25 Aug 2005 07:41:38 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2005-08-25T07:41:38Z</dc:date>
    <item>
      <title>user getting message when logging in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611714#M234539</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a user that when they login, they get the following message:&lt;BR /&gt;&lt;BR /&gt;/bin/mach: Command not found.&lt;BR /&gt;Can't set limit.&lt;BR /&gt;&lt;BR /&gt;Also,&lt;BR /&gt;&lt;BR /&gt;When they logout, they get the following message:&lt;BR /&gt;&lt;BR /&gt;ps: unknown user x&lt;BR /&gt;USER: Undefined variable.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Would anyone have any idea where I could start to look to see what is causing these problems?  Subsequently, this user cannot run certain programs or scripts that they are allowed to run with their permissions.  At first I thought it was their .profile, but that looks normal like everyone else's on my 11.11 system.   I'm out of ideas.  &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;KPS</description>
      <pubDate>Thu, 25 Aug 2005 07:21:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611714#M234539</guid>
      <dc:creator>KPS</dc:creator>
      <dc:date>2005-08-25T07:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: user getting message when logging in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611715#M234540</link>
      <description>Hi KPS ,&lt;BR /&gt;&lt;BR /&gt;Have you defined correct shell and startup profile for this user. Seems incorrect shell and variables defined.&lt;BR /&gt;&lt;BR /&gt;Can you paste the output of &lt;BR /&gt;1. cat /etc/passwd | grep username&lt;BR /&gt;2. cat ~username/.profile&lt;BR /&gt;&lt;BR /&gt;need to check further,&lt;BR /&gt;cheers ,&lt;BR /&gt;&lt;BR /&gt;Raj.&lt;BR /&gt;------</description>
      <pubDate>Thu, 25 Aug 2005 07:25:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611715#M234540</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-08-25T07:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: user getting message when logging in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611716#M234541</link>
      <description>Hi Ken:&lt;BR /&gt;&lt;BR /&gt;Depending upon the user's default shell, you might find your culprit code in ~/.login and ~./logout.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 25 Aug 2005 07:41:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611716#M234541</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-08-25T07:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: user getting message when logging in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611717#M234542</link>
      <description>I have attached the /etc/passwd entry for this user and also the .profile.   &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please see attachment.......</description>
      <pubDate>Thu, 25 Aug 2005 07:47:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611717#M234542</guid>
      <dc:creator>KPS</dc:creator>
      <dc:date>2005-08-25T07:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: user getting message when logging in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611718#M234543</link>
      <description>All,&lt;BR /&gt;&lt;BR /&gt;I think I'm on to something here.   This user used to be setup on an old Sun system and I think some of this is the cause of the problems.  When they got rid of this system, nobody ever converted his login to take account the HP system that everyone was migrated over to.  I found mention to this /bin/mach made in the login and .logout files.  I have taken those out of the equation, and I thought things would work more as expexted.  The logout error message has gone away so that's good, but when the user logs on to the HP-UX system, he still gets the error:&lt;BR /&gt;&lt;BR /&gt;/bin/mach: Command not found.&lt;BR /&gt;Can't set limit&lt;BR /&gt;&lt;BR /&gt;Still looking for other places where this /bin/mach might be referred to.</description>
      <pubDate>Thu, 25 Aug 2005 08:15:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611718#M234543</guid>
      <dc:creator>KPS</dc:creator>
      <dc:date>2005-08-25T08:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: user getting message when logging in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611719#M234544</link>
      <description>Depending on the shell, look in the ~/.login or ~/.profile. If using CDE you may want to look in the users ~/.dtprofile as well.&lt;BR /&gt;&lt;BR /&gt;Couple other files to check&lt;BR /&gt;&lt;BR /&gt;~/.cshrc and/or ~/.kshrc files. If these files exist they will also be executed on login.&lt;BR /&gt;&lt;BR /&gt;Also check the ~/.env file. I see a reference to it in your attachment.</description>
      <pubDate>Thu, 25 Aug 2005 08:33:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611719#M234544</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-08-25T08:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: user getting message when logging in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611720#M234545</link>
      <description>Hi Ken,&lt;BR /&gt;&lt;BR /&gt;have a look at the .cshrc for this entry.&lt;BR /&gt;The /bin/mach returns machine info on sun, like "sparc". Perhaps used in this case for a message like "you are using a sparc system".</description>
      <pubDate>Thu, 25 Aug 2005 08:39:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611720#M234545</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2005-08-25T08:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: user getting message when logging in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611721#M234546</link>
      <description>Hi Ken ,&lt;BR /&gt;&lt;BR /&gt;The .profile seems ok , but wonding from where its taking /bin/match , in the error.&lt;BR /&gt;&lt;BR /&gt;"/bin/mach: Command not found.&lt;BR /&gt;Can't set limit."&lt;BR /&gt;&lt;BR /&gt;Its C shell , hence ,check for the files &lt;BR /&gt;~user/.cshrc  and ~user/.login ,&lt;BR /&gt;&lt;BR /&gt;Cheers ,&lt;BR /&gt;Raj.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Aug 2005 08:39:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611721#M234546</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-08-25T08:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: user getting message when logging in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611722#M234547</link>
      <description>Ken,&lt;BR /&gt;&lt;BR /&gt;Try grepping for /bin/mach in his home directory:&lt;BR /&gt;&lt;BR /&gt;find /home/username -exec grep '/bin/mach' {} \;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 25 Aug 2005 08:56:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611722#M234547</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-08-25T08:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: user getting message when logging in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611723#M234548</link>
      <description>G'day Mate,&lt;BR /&gt;&lt;BR /&gt;Lots of good responses from my partners... I just wanted to add that if its hard to track down, you could always just delete the user (saving his/her home directory and files) and re-add the user using the -k /etc/skel option. If the user has basic login files, this shouldn't be a problem. If the user has a very customized setup, you could just keep adding bits and pieces of the old login files in until you find the culprit. Searching the user's home directory for mach is a good idea too and should narrow everything down.&lt;BR /&gt;&lt;BR /&gt;Take it easy partner,&lt;BR /&gt;&lt;BR /&gt;John E. Ophious</description>
      <pubDate>Thu, 25 Aug 2005 09:18:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611723#M234548</guid>
      <dc:creator>John E.Ophious</dc:creator>
      <dc:date>2005-08-25T09:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: user getting message when logging in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611724#M234549</link>
      <description>Howdy Ken,&lt;BR /&gt;&lt;BR /&gt;Sounds like someone added a command to your users PATH environmental variable:&lt;BR /&gt;&lt;BR /&gt;PATH=$PATH:/bin/mach&lt;BR /&gt;EXPORT PATH&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Check out:&lt;BR /&gt;&lt;BR /&gt;User's:&lt;BR /&gt;.cshrc&lt;BR /&gt;.login&lt;BR /&gt;.profile&lt;BR /&gt;&lt;BR /&gt;System:&lt;BR /&gt;/etc/csh.login&lt;BR /&gt;/etc/profile&lt;BR /&gt;&lt;BR /&gt;Good day mate,&lt;BR /&gt;&lt;BR /&gt;John E. Ophious</description>
      <pubDate>Thu, 25 Aug 2005 14:00:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-getting-message-when-logging-in/m-p/3611724#M234549</guid>
      <dc:creator>John E.Ophious</dc:creator>
      <dc:date>2005-08-25T14:00:00Z</dc:date>
    </item>
  </channel>
</rss>

